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: translateModel(IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007874/0.0007875, allocations: 93.5 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.001259/0.001259, allocations: 176.7 kB / 16.92 MB, free: 6.672 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6873/0.6873, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003953, allocations: 8 kB / 495.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, allocations: 77.53 MB / 0.5599 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.001391/0.1715, allocations: 1.15 MB / 0.5611 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000498/0.172, allocations: 248.2 kB / 0.5613 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.1721, allocations: 4 kB / 0.5613 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.1721, allocations: 3.938 kB / 0.5613 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.681e-05/0.1721, allocations: 3.984 kB / 0.5613 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1724, allocations: 39.91 kB / 0.5613 GB, free: 7.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.919e-05/0.1725, allocations: 27.92 kB / 0.5614 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.956e-05/0.1725, allocations: 0 / 0.5614 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.1726, allocations: 11.98 kB / 0.5614 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.364e-05/0.1726, allocations: 11.92 kB / 0.5614 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.256e-06/0.1726, allocations: 4 kB / 0.5614 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1728, allocations: 59.89 kB / 0.5615 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.1728, allocations: 7.984 kB / 0.5615 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.1728, allocations: 33.64 kB / 0.5615 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1729, allocations: 55.84 kB / 0.5615 GB, free: 7.375 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.173, allocations: 0 / 0.5615 GB, free: 7.375 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.173, allocations: 0 / 0.5615 GB, free: 7.375 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.173, allocations: 0 / 0.5615 GB, free: 7.375 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.0003906/0.1734, allocations: 343.8 kB / 0.5619 GB, free: 6.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1734, allocations: 8.031 kB / 0.5619 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.1734, allocations: 8.844 kB / 0.5619 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.1735, allocations: 168.3 kB / 0.5621 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1736, allocations: 384 / 0.5621 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1736, allocations: 4.375 kB / 0.5621 GB, free: 6.766 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1738, allocations: 58.23 kB / 0.5621 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.1738, allocations: 192 / 0.5621 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1738, allocations: 3.938 kB / 0.5621 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1738, allocations: 0 / 0.5621 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.174, allocations: 43.95 kB / 0.5622 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.1743, allocations: 245 kB / 0.5624 GB, free: 6.367 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1744, allocations: 50.42 kB / 0.5624 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/0.1745, allocations: 28.89 kB / 0.5625 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006245/0.1751, allocations: 457.5 kB / 0.5629 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1752, allocations: 34.56 kB / 0.5629 GB, free: 5.695 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1752, allocations: 0 / 0.5629 GB, free: 5.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003812/0.1756, allocations: 109.5 kB / 0.563 GB, free: 5.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.1756, allocations: 55.34 kB / 0.5631 GB, free: 5.516 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.1757, allocations: 102 kB / 0.5632 GB, free: 5.406 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.1757, allocations: 33.64 kB / 0.5632 GB, free: 5.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.1758, allocations: 80.14 kB / 0.5633 GB, free: 5.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.1758, allocations: 7.906 kB / 0.5633 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.1758, allocations: 9.719 kB / 0.5633 GB, free: 5.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1759, allocations: 318.8 kB / 0.5636 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.176, allocations: 19.98 kB / 0.5636 GB, free: 4.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.1761, allocations: 23.98 kB / 0.5637 GB, free: 4.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.1763, allocations: 44.83 kB / 0.5637 GB, free: 4.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1763, allocations: 4.062 kB / 0.5637 GB, free: 4.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002142/0.1765, allocations: 85.53 kB / 0.5638 GB, free: 4.758 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1766, allocations: 5.875 kB / 0.5638 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1766, allocations: 0 / 0.5638 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1766, allocations: 0 / 0.5638 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/0.1767, allocations: 16.02 kB / 0.5638 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1767, allocations: 0 / 0.5638 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.1768, allocations: 11.98 kB / 0.5638 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.1768, allocations: 0 / 0.5638 GB, free: 4.727 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.131e-05/0.1768, allocations: 113.8 kB / 0.5639 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1769, allocations: 4 kB / 0.5639 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.1771, allocations: 84.72 kB / 0.564 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1771, allocations: 0 / 0.564 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1771, allocations: 0 / 0.564 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1771, allocations: 0 / 0.564 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.1773, allocations: 165.6 kB / 0.5642 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1773, allocations: 0 / 0.5642 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.1774, allocations: 16.02 kB / 0.5642 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1774, allocations: 0 / 0.5642 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1774, allocations: 4 kB / 0.5642 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1774, allocations: 4 kB / 0.5642 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1774, allocations: 0 / 0.5642 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1777, allocations: 171.5 kB / 0.5644 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.1778, allocations: 84.95 kB / 0.5644 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.1778, allocations: 0 / 0.5644 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.1779, allocations: 11.98 kB / 0.5645 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.1779, allocations: 4 kB / 0.5645 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.1779, allocations: 8.031 kB / 0.5645 GB, free: 3.973 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.178, allocations: 83.16 kB / 0.5645 GB, free: 3.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.178, allocations: 0 / 0.5645 GB, free: 3.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1782, allocations: 20 kB / 0.5646 GB, free: 3.871 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.0001988/0.1784, allocations: 111.2 kB / 0.5647 GB, free: 3.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.1786, allocations: 51.89 kB / 0.5647 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1786, allocations: 0 / 0.5647 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.1788, allocations: 27.98 kB / 0.5647 GB, free: 3.672 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.179, allocations: 8.062 kB / 0.5648 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.1792, allocations: 108.7 kB / 0.5649 GB, free: 3.535 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.1795, allocations: 0.677 MB / 0.5655 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.193e-05/0.1795, allocations: 4 kB / 0.5655 GB, free: 2.828 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.1796, allocations: 11.42 kB / 0.5655 GB, free: 2.816 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1796, allocations: 0 / 0.5655 GB, free: 2.816 MB / 430.1 MB Notification: Performance of Templates: time 0.002882/0.1825, allocations: 0.5803 MB / 0.5661 GB, free: 2.242 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)