Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 104.6 kB / 16.4 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 193.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7992/0.7992, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 68.58 kB / 0.568 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1605, allocations: 77.93 MB / 0.6441 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002667/0.1632, allocations: 1.421 MB / 0.6455 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005541/0.1637, allocations: 256 kB / 0.6457 GB, free: 7.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.1638, allocations: 0 / 0.6457 GB, free: 7.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.1638, allocations: 0 / 0.6457 GB, free: 7.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.109e-05/0.1639, allocations: 7.938 kB / 0.6457 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.1643, allocations: 67.8 kB / 0.6458 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.1643, allocations: 15.94 kB / 0.6458 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.1644, allocations: 11.98 kB / 0.6458 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.763e-05/0.1645, allocations: 7.938 kB / 0.6458 GB, free: 7.766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.798e-05/0.1645, allocations: 11.98 kB / 0.6458 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.1645, allocations: 0 / 0.6458 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.1647, allocations: 63.88 kB / 0.6459 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.1647, allocations: 7.922 kB / 0.6459 GB, free: 7.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.1647, allocations: 15.94 kB / 0.6459 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1649, allocations: 48.14 kB / 0.6459 GB, free: 7.621 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1649, allocations: 4 kB / 0.6459 GB, free: 7.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1649, allocations: 0 / 0.6459 GB, free: 7.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1649, allocations: 0 / 0.6459 GB, free: 7.617 MB / 494.1 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.0004556/0.1654, allocations: 343.4 kB / 0.6463 GB, free: 7.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1654, allocations: 12.62 kB / 0.6463 GB, free: 7.219 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.1655, allocations: 38.69 kB / 0.6463 GB, free: 7.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.1655, allocations: 8.922 kB / 0.6463 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1656, allocations: 172.3 kB / 0.6465 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1657, allocations: 4.312 kB / 0.6465 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1657, allocations: 384 / 0.6465 GB, free: 6.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1659, allocations: 54.17 kB / 0.6466 GB, free: 6.895 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1659, allocations: 3.938 kB / 0.6466 GB, free: 6.891 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1659, allocations: 0 / 0.6466 GB, free: 6.891 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1659, allocations: 0 / 0.6466 GB, free: 6.891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.1661, allocations: 39.95 kB / 0.6466 GB, free: 6.852 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.1664, allocations: 241 kB / 0.6468 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1665, allocations: 42.48 kB / 0.6469 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.1666, allocations: 24.84 kB / 0.6469 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.1674, allocations: 461.5 kB / 0.6473 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1674, allocations: 34.56 kB / 0.6474 GB, free: 5.902 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1674, allocations: 0 / 0.6474 GB, free: 5.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003617/0.1678, allocations: 81.64 kB / 0.6474 GB, free: 5.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.1678, allocations: 51.41 kB / 0.6475 GB, free: 5.754 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/0.1679, allocations: 97.86 kB / 0.6476 GB, free: 5.648 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.168, allocations: 25.7 kB / 0.6476 GB, free: 5.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.168, allocations: 84.14 kB / 0.6477 GB, free: 5.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.168, allocations: 11.94 kB / 0.6477 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.1681, allocations: 9.719 kB / 0.6477 GB, free: 5.504 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1682, allocations: 319 kB / 0.648 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.729e-05/0.1683, allocations: 19.92 kB / 0.648 GB, free: 5.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.561e-05/0.1684, allocations: 15.97 kB / 0.648 GB, free: 5.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.1685, allocations: 36.83 kB / 0.6481 GB, free: 5.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1686, allocations: 3.938 kB / 0.6481 GB, free: 5.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002123/0.1688, allocations: 73.72 kB / 0.6482 GB, free: 5.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1688, allocations: 5.875 kB / 0.6482 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.1688, allocations: 0 / 0.6482 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1688, allocations: 0 / 0.6482 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.1689, allocations: 11.98 kB / 0.6482 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1689, allocations: 0 / 0.6482 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.169, allocations: 11.89 kB / 0.6482 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.169, allocations: 0 / 0.6482 GB, free: 5 MB / 494.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.127e-05/0.1691, allocations: 113.8 kB / 0.6483 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.1691, allocations: 4 kB / 0.6483 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.1693, allocations: 76.77 kB / 0.6484 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1693, allocations: 3.938 kB / 0.6484 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1694, allocations: 0 / 0.6484 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1694, allocations: 4 kB / 0.6484 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1695, allocations: 161.5 kB / 0.6485 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1695, allocations: 4.031 kB / 0.6485 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.1696, allocations: 7.984 kB / 0.6485 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1696, allocations: 0 / 0.6485 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1696, allocations: 4 kB / 0.6485 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1696, allocations: 0 / 0.6485 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/0.1696, allocations: 192 / 0.6485 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.1699, allocations: 171.4 kB / 0.6487 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.1699, allocations: 81.09 kB / 0.6488 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.17, allocations: 0 / 0.6488 GB, free: 4.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.17, allocations: 7.984 kB / 0.6488 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.1701, allocations: 0 / 0.6488 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1701, allocations: 4 kB / 0.6488 GB, free: 4.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.561e-05/0.1701, allocations: 83.27 kB / 0.6489 GB, free: 4.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1701, allocations: 0 / 0.6489 GB, free: 4.188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1704, allocations: 23.89 kB / 0.6489 GB, free: 4.164 MB / 494.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006846/0.1711, allocations: 0.7202 MB / 0.6496 GB, free: 3.414 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1713, allocations: 31.97 kB / 0.6496 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1713, allocations: 0 / 0.6496 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.1714, allocations: 15.98 kB / 0.6496 GB, free: 3.367 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.1717, allocations: 11.98 kB / 0.6497 GB, free: 3.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.1721, allocations: 143.2 kB / 0.6498 GB, free: 3.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1723, allocations: 0.6768 MB / 0.6505 GB, free: 2.473 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.333e-05/0.1724, allocations: 4 kB / 0.6505 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.1724, allocations: 7.438 kB / 0.6505 GB, free: 2.461 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1724, allocations: 0 / 0.6505 GB, free: 2.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.1914, allocations: 1.512 MB / 0.6519 GB, free: 1.016 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/7.815, allocations: 4.859 kB / 0.652 GB, free: 1.012 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)