Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",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.001371/0.001371, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 182 kB / 16.91 MB, free: 6.914 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7044/0.7044, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 12 kB / 495.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 77.54 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.001726/0.1644, allocations: 1.147 MB / 0.5612 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005904/0.1651, allocations: 248.1 kB / 0.5614 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.1651, allocations: 0 / 0.5614 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.1651, allocations: 0 / 0.5614 GB, free: 7.523 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.959e-05/0.1652, allocations: 4 kB / 0.5614 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.1655, allocations: 43.89 kB / 0.5614 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.347e-05/0.1656, allocations: 23.92 kB / 0.5615 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.15e-05/0.1657, allocations: 4 kB / 0.5615 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.558e-05/0.1657, allocations: 11.94 kB / 0.5615 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.58e-05/0.1658, allocations: 7.969 kB / 0.5615 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.649e-06/0.1658, allocations: 4 kB / 0.5615 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1659, allocations: 59.89 kB / 0.5616 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.166, allocations: 7.984 kB / 0.5616 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.166, allocations: 37.64 kB / 0.5616 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1661, allocations: 51.86 kB / 0.5616 GB, free: 7.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1661, allocations: 3.984 kB / 0.5616 GB, free: 7.262 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1662, allocations: 0 / 0.5616 GB, free: 7.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1662, allocations: 0 / 0.5616 GB, free: 7.262 MB / 430.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.0004562/0.1666, allocations: 353.4 kB / 0.562 GB, free: 6.867 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1667, allocations: 12.03 kB / 0.562 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.1667, allocations: 34.75 kB / 0.562 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.1667, allocations: 4.938 kB / 0.562 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1669, allocations: 160.4 kB / 0.5622 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.1669, allocations: 384 / 0.5622 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.1669, allocations: 4.375 kB / 0.5622 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1671, allocations: 58.22 kB / 0.5622 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1671, allocations: 3.938 kB / 0.5623 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1671, allocations: 4 kB / 0.5623 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1671, allocations: 0 / 0.5623 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.1674, allocations: 43.95 kB / 0.5623 GB, free: 6.496 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.1678, allocations: 248.9 kB / 0.5625 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1679, allocations: 46.48 kB / 0.5626 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.168, allocations: 28.91 kB / 0.5626 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000729/0.1688, allocations: 453.5 kB / 0.563 GB, free: 5.582 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.1688, allocations: 30.56 kB / 0.5631 GB, free: 5.543 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/0.1688, allocations: 0 / 0.5631 GB, free: 5.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004312/0.1693, allocations: 109.5 kB / 0.5632 GB, free: 5.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1693, allocations: 55.34 kB / 0.5632 GB, free: 5.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.1694, allocations: 101.8 kB / 0.5633 GB, free: 5.254 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1695, allocations: 29.64 kB / 0.5634 GB, free: 5.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.1695, allocations: 84.27 kB / 0.5634 GB, free: 5.133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.1696, allocations: 7.906 kB / 0.5634 GB, free: 5.125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.1696, allocations: 13.72 kB / 0.5635 GB, free: 5.105 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1697, allocations: 314.8 kB / 0.5638 GB, free: 4.789 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.1698, allocations: 19.98 kB / 0.5638 GB, free: 4.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/0.1699, allocations: 23.98 kB / 0.5638 GB, free: 4.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.1701, allocations: 48.81 kB / 0.5638 GB, free: 4.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.1701, allocations: 7.875 kB / 0.5638 GB, free: 4.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002156/0.1704, allocations: 73.73 kB / 0.5639 GB, free: 4.609 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.1704, allocations: 10.03 kB / 0.5639 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1704, allocations: 0 / 0.5639 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1704, allocations: 0 / 0.5639 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.1705, allocations: 16.02 kB / 0.5639 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1705, allocations: 0 / 0.5639 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.1706, allocations: 11.98 kB / 0.564 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.1706, allocations: 0 / 0.564 GB, free: 4.574 MB / 430.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 8.607e-05/0.1707, allocations: 113.8 kB / 0.5641 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1707, allocations: 4 kB / 0.5641 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.171, allocations: 84.72 kB / 0.5641 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.171, allocations: 4 kB / 0.5642 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.171, allocations: 0 / 0.5642 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.171, allocations: 0 / 0.5642 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1712, allocations: 165.5 kB / 0.5643 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1712, allocations: 0 / 0.5643 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.1713, allocations: 16.02 kB / 0.5643 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1713, allocations: 0 / 0.5643 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.1713, allocations: 4 kB / 0.5643 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1713, allocations: 4 kB / 0.5643 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1713, allocations: 0 / 0.5643 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1716, allocations: 179.3 kB / 0.5645 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.1717, allocations: 77.11 kB / 0.5646 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1717, allocations: 4 kB / 0.5646 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.1718, allocations: 11.98 kB / 0.5646 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1718, allocations: 3.938 kB / 0.5646 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1719, allocations: 0 / 0.5646 GB, free: 3.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.1719, allocations: 83.5 kB / 0.5647 GB, free: 3.738 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1719, allocations: 0 / 0.5647 GB, free: 3.738 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1722, allocations: 19.98 kB / 0.5647 GB, free: 3.719 MB / 430.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.0006309/0.1728, allocations: 0.7243 MB / 0.5654 GB, free: 2.965 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.173, allocations: 59.86 kB / 0.5655 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.173, allocations: 0 / 0.5655 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.138e-05/0.1731, allocations: 23.98 kB / 0.5655 GB, free: 2.883 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.1734, allocations: 0 / 0.5655 GB, free: 2.883 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.1738, allocations: 146.5 kB / 0.5656 GB, free: 2.703 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1741, allocations: 0.677 MB / 0.5663 GB, free: 2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.009e-05/0.1741, allocations: 0 / 0.5663 GB, free: 2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.1741, allocations: 11.44 kB / 0.5663 GB, free: 1.988 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1741, allocations: 0 / 0.5663 GB, free: 1.988 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08411/0.2582, allocations: 1.244 MB / 0.5675 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/0.2585, allocations: 181.5 kB / 0.5677 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.031, allocations: 4 kB / 0.5677 GB, free: 0.6055 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)