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.001355/0.001355, allocations: 107.1 kB / 16.4 MB, free: 6.504 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.001332/0.001332, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8696/0.8696, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 65.78 kB / 0.5577 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1641, allocations: 76.18 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.00249/0.1666, allocations: 1.418 MB / 0.6335 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00055/0.1672, allocations: 244.1 kB / 0.6337 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.1672, allocations: 0 / 0.6337 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.1673, allocations: 3.938 kB / 0.6337 GB, free: 2.707 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.824e-05/0.1673, allocations: 3.984 kB / 0.6337 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.1677, allocations: 55.83 kB / 0.6338 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.1678, allocations: 23.92 kB / 0.6338 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.1679, allocations: 8 kB / 0.6338 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.1679, allocations: 15.91 kB / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.838e-05/0.168, allocations: 4 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.168, allocations: 4 kB / 0.6338 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1681, allocations: 63.88 kB / 0.6339 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1682, allocations: 3.938 kB / 0.6339 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.1682, allocations: 8 kB / 0.6339 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.1683, allocations: 55.84 kB / 0.6339 GB, free: 2.465 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1683, allocations: 4 kB / 0.6339 GB, free: 2.461 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1683, allocations: 4 kB / 0.6339 GB, free: 2.457 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1684, allocations: 0 / 0.6339 GB, free: 2.457 MB / 478.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.0004716/0.1688, allocations: 347.4 kB / 0.6343 GB, free: 2.066 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1689, allocations: 8.031 kB / 0.6343 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.1689, allocations: 0.9375 kB / 0.6343 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.169, allocations: 164.4 kB / 0.6344 GB, free: 1.859 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1691, allocations: 384 / 0.6344 GB, free: 1.859 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.1691, allocations: 4.312 kB / 0.6344 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1693, allocations: 54.23 kB / 0.6345 GB, free: 1.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.1693, allocations: 4.125 kB / 0.6345 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1693, allocations: 3.938 kB / 0.6345 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1693, allocations: 0 / 0.6345 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.1695, allocations: 35.95 kB / 0.6345 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.1698, allocations: 241 kB / 0.6348 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.1699, allocations: 50.42 kB / 0.6348 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.17, allocations: 32.83 kB / 0.6348 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006404/0.1707, allocations: 449.5 kB / 0.6353 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1707, allocations: 34.55 kB / 0.6353 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1707, allocations: 0 / 0.6353 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003593/0.1711, allocations: 81.56 kB / 0.6354 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.1711, allocations: 51.41 kB / 0.6354 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.1712, allocations: 113.9 kB / 0.6355 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1712, allocations: 25.7 kB / 0.6356 GB, free: 0.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.1713, allocations: 80.14 kB / 0.6356 GB, free: 428 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.1713, allocations: 7.906 kB / 0.6357 GB, free: 420 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.1713, allocations: 17.7 kB / 0.6357 GB, free: 396 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.1714, allocations: 310.8 kB / 0.636 GB, free: 76 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-05/0.1715, allocations: 15.98 kB / 0.636 GB, free: 60 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.1716, allocations: 19.98 kB / 0.636 GB, free: 40 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1718, allocations: 36.81 kB / 0.636 GB, free: 0 / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1718, allocations: 0 / 0.636 GB, free: 0 / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002077/0.172, allocations: 69.61 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.172, allocations: 4 kB / 0.6361 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.172, allocations: 12.02 kB / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1721, allocations: 4 kB / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.1721, allocations: 8 kB / 0.6361 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1722, allocations: 3.984 kB / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.1722, allocations: 7.984 kB / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1722, allocations: 0 / 0.6361 GB, free: 15.89 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.377e-05/0.1723, allocations: 113.8 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.1723, allocations: 0 / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.1726, allocations: 80.72 kB / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1726, allocations: 0 / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1726, allocations: 3.984 kB / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1726, allocations: 0 / 0.6363 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.1728, allocations: 165.5 kB / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1728, allocations: 0 / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.1728, allocations: 15.92 kB / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1728, allocations: 0 / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1728, allocations: 0 / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1729, allocations: 4.031 kB / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1729, allocations: 0 / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1731, allocations: 167.4 kB / 0.6367 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.1731, allocations: 77.11 kB / 0.6367 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.1732, allocations: 0 / 0.6367 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.1732, allocations: 12.02 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.1733, allocations: 4 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.1733, allocations: 3.938 kB / 0.6368 GB, free: 15.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.1733, allocations: 83.28 kB / 0.6368 GB, free: 15.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1733, allocations: 0 / 0.6368 GB, free: 15.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.1736, allocations: 19.98 kB / 0.6369 GB, free: 15.05 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.0001822/0.1738, allocations: 111.2 kB / 0.637 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.174, allocations: 39.89 kB / 0.637 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.174, allocations: 0 / 0.637 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.358e-05/0.1741, allocations: 19.98 kB / 0.637 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1744, allocations: 7.938 kB / 0.637 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.1746, allocations: 105.8 kB / 0.6371 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.1749, allocations: 0.6768 MB / 0.6378 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.468e-05/0.1749, allocations: 0 / 0.6378 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.175, allocations: 11.44 kB / 0.6378 GB, free: 14.02 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.175, allocations: 0 / 0.6378 GB, free: 14.02 MB / 494.1 MB Notification: Performance of Templates: time 0.002823/0.1778, allocations: 0.6613 MB / 0.6384 GB, free: 13.36 MB / 494.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)