Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7414/0.7414, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 180.8 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.1 MB / 404.5 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008832/0.0008832, allocations: 94.14 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.253e-05/4.268e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1756, allocations: 76.77 MB / 0.6283 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6162/0.7919, allocations: 102.7 MB / 0.7286 GB, free: 10.63 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.7923, allocations: 72.58 kB / 0.7286 GB, free: 10.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005134/0.7974, allocations: 1.612 MB / 0.7302 GB, free: 9.191 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.7975, allocations: 3.984 kB / 0.7302 GB, free: 9.188 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.7975, allocations: 0 / 0.7302 GB, free: 9.188 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004135/0.7979, allocations: 354.2 kB / 0.7305 GB, free: 8.801 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.798, allocations: 8.031 kB / 0.7305 GB, free: 8.793 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.798, allocations: 30.56 kB / 0.7306 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.7981, allocations: 7.953 kB / 0.7306 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.7982, allocations: 163.8 kB / 0.7307 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.7982, allocations: 0 / 0.7307 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.7982, allocations: 7.438 kB / 0.7307 GB, free: 8.543 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.7984, allocations: 47.66 kB / 0.7308 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.7984, allocations: 0 / 0.7308 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.7984, allocations: 0 / 0.7308 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.7984, allocations: 0 / 0.7308 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.7985, allocations: 15.33 kB / 0.7308 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.7989, allocations: 271.5 kB / 0.7311 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.933e-05/0.799, allocations: 26.02 kB / 0.7311 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.799, allocations: 12.42 kB / 0.7311 GB, free: 8.137 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006054/0.7997, allocations: 448.9 kB / 0.7315 GB, free: 7.609 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.7997, allocations: 38.55 kB / 0.7316 GB, free: 7.562 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.7997, allocations: 0 / 0.7316 GB, free: 7.562 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001727/0.7999, allocations: 49.14 kB / 0.7316 GB, free: 7.512 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.7999, allocations: 51.41 kB / 0.7317 GB, free: 7.449 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/0.8, allocations: 92.25 kB / 0.7317 GB, free: 7.355 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.8, allocations: 25.7 kB / 0.7318 GB, free: 7.324 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.8001, allocations: 84.12 kB / 0.7319 GB, free: 7.238 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.8001, allocations: 11.34 kB / 0.7319 GB, free: 7.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.8001, allocations: 4.031 kB / 0.7319 GB, free: 7.227 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8003, allocations: 310.8 kB / 0.7322 GB, free: 6.914 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.8003, allocations: 11.56 kB / 0.7322 GB, free: 6.906 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.8003, allocations: 7.938 kB / 0.7322 GB, free: 6.898 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.695e-05/0.8004, allocations: 0 / 0.7322 GB, free: 6.898 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8004, allocations: 0 / 0.7322 GB, free: 6.898 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.439e-05/0.8004, allocations: 48.25 kB / 0.7322 GB, free: 6.852 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.8005, allocations: 4 kB / 0.7322 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.8005, allocations: 4.094 kB / 0.7322 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.8005, allocations: 0 / 0.7322 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.8006, allocations: 15.98 kB / 0.7323 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.8006, allocations: 3.953 kB / 0.7323 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.8007, allocations: 7.938 kB / 0.7323 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.8007, allocations: 0 / 0.7323 GB, free: 6.816 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.03e-05/0.8008, allocations: 105 kB / 0.7324 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.8008, allocations: 4 kB / 0.7324 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.801, allocations: 51.83 kB / 0.7324 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.801, allocations: 0 / 0.7324 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.801, allocations: 4 kB / 0.7324 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.801, allocations: 7.938 kB / 0.7324 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.8012, allocations: 156.3 kB / 0.7326 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.8012, allocations: 0 / 0.7326 GB, free: 6.445 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.8013, allocations: 11.98 kB / 0.7326 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8013, allocations: 4.031 kB / 0.7326 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.8013, allocations: 0 / 0.7326 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8013, allocations: 0 / 0.7326 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.8013, allocations: 0 / 0.7326 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.8015, allocations: 146.6 kB / 0.7327 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.8015, allocations: 77.11 kB / 0.7328 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.8015, allocations: 4 kB / 0.7328 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.8016, allocations: 8.031 kB / 0.7328 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.8017, allocations: 7.984 kB / 0.7328 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.8017, allocations: 3.375 kB / 0.7328 GB, free: 6.164 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.086e-05/0.8017, allocations: 79.28 kB / 0.7329 GB, free: 6.086 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8017, allocations: 0 / 0.7329 GB, free: 6.086 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.802, allocations: 27.94 kB / 0.7329 GB, free: 6.059 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005106/0.8025, allocations: 0.7119 MB / 0.7336 GB, free: 5.328 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.293e-05/0.8026, allocations: 14.44 kB / 0.7336 GB, free: 5.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8026, allocations: 96 / 0.7336 GB, free: 5.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.19e-05/0.8026, allocations: 8 kB / 0.7336 GB, free: 5.312 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.8028, allocations: 7.984 kB / 0.7337 GB, free: 5.305 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.8032, allocations: 106.3 kB / 0.7338 GB, free: 5.172 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.8035, allocations: 0.677 MB / 0.7344 GB, free: 4.469 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.015e-05/0.8035, allocations: 7.922 kB / 0.7344 GB, free: 4.461 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.8036, allocations: 7.438 kB / 0.7344 GB, free: 4.453 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8036, allocations: 4 kB / 0.7344 GB, free: 4.449 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.8188, allocations: 1.24 MB / 0.7356 GB, free: 3.324 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.8192, allocations: 151.7 kB / 0.7358 GB, free: 3.102 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.336, allocations: 0 / 0.7358 GB, free: 3.102 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)