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: translateModel(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008207/0.0008211, allocations: 99.12 kB / 16.02 MB, free: 80 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.001392/0.001392, allocations: 179.8 kB / 16.92 MB, free: 6.707 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.528/1.528, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7136/0.7136, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 11.98 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1728, allocations: 77.55 MB / 0.56 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.001772/0.1746, allocations: 1.139 MB / 0.5611 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006292/0.1753, allocations: 260.1 kB / 0.5613 GB, free: 7.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.1753, allocations: 0 / 0.5613 GB, free: 7.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.1753, allocations: 4 kB / 0.5613 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.1754, allocations: 7.938 kB / 0.5613 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.1758, allocations: 51.88 kB / 0.5614 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.173e-05/0.1758, allocations: 12 kB / 0.5614 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.1759, allocations: 11.98 kB / 0.5614 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.555e-05/0.176, allocations: 7.938 kB / 0.5614 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.176, allocations: 7.984 kB / 0.5614 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.176, allocations: 4 kB / 0.5614 GB, free: 7.484 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.1762, allocations: 67.86 kB / 0.5615 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.1762, allocations: 4 kB / 0.5615 GB, free: 7.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.1763, allocations: 33.64 kB / 0.5615 GB, free: 7.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1765, allocations: 59.78 kB / 0.5616 GB, free: 7.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1765, allocations: 0 / 0.5616 GB, free: 7.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1765, allocations: 0 / 0.5616 GB, free: 7.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1765, allocations: 0 / 0.5616 GB, free: 7.316 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.000573/0.1771, allocations: 347.8 kB / 0.5619 GB, free: 6.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1771, allocations: 12.03 kB / 0.5619 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.1772, allocations: 8.844 kB / 0.5619 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1773, allocations: 160.4 kB / 0.5621 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1773, allocations: 384 / 0.5621 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.1773, allocations: 384 / 0.5621 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.1775, allocations: 58.23 kB / 0.5621 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1776, allocations: 192 / 0.5621 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1776, allocations: 11.88 kB / 0.5622 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1776, allocations: 0 / 0.5622 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.1778, allocations: 47.94 kB / 0.5622 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.1781, allocations: 244.9 kB / 0.5624 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.1783, allocations: 46.53 kB / 0.5625 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.824e-05/0.1784, allocations: 28.91 kB / 0.5625 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007233/0.1791, allocations: 465.5 kB / 0.563 GB, free: 5.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1792, allocations: 34.5 kB / 0.563 GB, free: 5.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.1792, allocations: 0 / 0.563 GB, free: 5.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003786/0.1796, allocations: 97.55 kB / 0.5631 GB, free: 5.523 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1796, allocations: 59.34 kB / 0.5631 GB, free: 5.453 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.251e-05/0.1797, allocations: 97.86 kB / 0.5632 GB, free: 5.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1797, allocations: 25.7 kB / 0.5633 GB, free: 5.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.1798, allocations: 96.19 kB / 0.5633 GB, free: 5.219 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.1798, allocations: 3.906 kB / 0.5633 GB, free: 5.215 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.1798, allocations: 9.719 kB / 0.5634 GB, free: 5.199 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.18, allocations: 314.8 kB / 0.5637 GB, free: 4.883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.18, allocations: 19.98 kB / 0.5637 GB, free: 4.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.1801, allocations: 31.91 kB / 0.5637 GB, free: 4.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1803, allocations: 44.83 kB / 0.5638 GB, free: 4.785 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1803, allocations: 0 / 0.5638 GB, free: 4.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002055/0.1805, allocations: 85.66 kB / 0.5638 GB, free: 4.695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1806, allocations: 4 kB / 0.5638 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1806, allocations: 0 / 0.5638 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1806, allocations: 4 kB / 0.5638 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.1807, allocations: 16.02 kB / 0.5639 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1807, allocations: 0 / 0.5639 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.1807, allocations: 4 kB / 0.5639 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1807, allocations: 8 kB / 0.5639 GB, free: 4.66 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 7.609e-05/0.1808, allocations: 113.7 kB / 0.564 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.1809, allocations: 3.984 kB / 0.564 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.1811, allocations: 84.78 kB / 0.5641 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1811, allocations: 0 / 0.5641 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1811, allocations: 0 / 0.5641 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1811, allocations: 0 / 0.5641 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.1813, allocations: 161.6 kB / 0.5642 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1813, allocations: 0 / 0.5642 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.1814, allocations: 16.02 kB / 0.5642 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1814, allocations: 0 / 0.5642 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-06/0.1814, allocations: 0 / 0.5642 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1814, allocations: 0 / 0.5642 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1814, allocations: 0 / 0.5642 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.1816, allocations: 183.4 kB / 0.5644 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.1817, allocations: 84.95 kB / 0.5645 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.1817, allocations: 0 / 0.5645 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.1818, allocations: 11.98 kB / 0.5645 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1818, allocations: 3.938 kB / 0.5645 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1818, allocations: 0 / 0.5645 GB, free: 3.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.766e-05/0.1819, allocations: 91.3 kB / 0.5646 GB, free: 3.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1819, allocations: 0 / 0.5646 GB, free: 3.824 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1821, allocations: 12 kB / 0.5646 GB, free: 3.812 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.0001943/0.1823, allocations: 115.2 kB / 0.5647 GB, free: 3.688 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1825, allocations: 47.97 kB / 0.5648 GB, free: 3.641 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.1826, allocations: 0 / 0.5648 GB, free: 3.641 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.175e-05/0.1827, allocations: 27.92 kB / 0.5648 GB, free: 3.613 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1829, allocations: 15.98 kB / 0.5648 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.1832, allocations: 104.7 kB / 0.5649 GB, free: 3.473 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1834, allocations: 0.677 MB / 0.5656 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.504e-05/0.1835, allocations: 4 kB / 0.5656 GB, free: 2.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.1835, allocations: 7.438 kB / 0.5656 GB, free: 2.758 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1835, allocations: 0 / 0.5656 GB, free: 2.758 MB / 430.1 MB Notification: Performance of Templates: time 0.003027/0.1865, allocations: 0.5906 MB / 0.5661 GB, free: 2.172 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)