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.001685/0.001686, allocations: 119.1 kB / 17.09 MB, free: 6.012 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.001978/0.001978, allocations: 195 kB / 18.02 MB, free: 5.094 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.403/1.403, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.755/0.755, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 72.67 kB / 0.5583 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1682, allocations: 76.17 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002819/0.1711, allocations: 1.423 MB / 0.6341 GB, free: 2.969 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005371/0.1717, allocations: 256 kB / 0.6344 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.413e-05/0.1717, allocations: 0 / 0.6344 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.1718, allocations: 3.938 kB / 0.6344 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.771e-05/0.1718, allocations: 0 / 0.6344 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.1722, allocations: 51.83 kB / 0.6344 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.1723, allocations: 23.92 kB / 0.6344 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.1724, allocations: 11.98 kB / 0.6345 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.1724, allocations: 15.92 kB / 0.6345 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.79e-05/0.1725, allocations: 7.984 kB / 0.6345 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.1725, allocations: 4 kB / 0.6345 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.1727, allocations: 55.89 kB / 0.6345 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.1727, allocations: 7.938 kB / 0.6345 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.1727, allocations: 15.98 kB / 0.6346 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1729, allocations: 47.86 kB / 0.6346 GB, free: 2.473 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1729, allocations: 0 / 0.6346 GB, free: 2.473 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1729, allocations: 0 / 0.6346 GB, free: 2.473 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1729, allocations: 4 kB / 0.6346 GB, free: 2.469 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.0004556/0.1734, allocations: 347.4 kB / 0.6349 GB, free: 2.078 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1734, allocations: 8.031 kB / 0.6349 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.1734, allocations: 4.938 kB / 0.6349 GB, free: 2.066 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1736, allocations: 164.4 kB / 0.6351 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.1736, allocations: 384 / 0.6351 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.1736, allocations: 8.359 kB / 0.6351 GB, free: 1.859 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1738, allocations: 50.19 kB / 0.6352 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1738, allocations: 192 / 0.6352 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1738, allocations: 11.92 kB / 0.6352 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1738, allocations: 7.938 kB / 0.6352 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.174, allocations: 27.97 kB / 0.6352 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.1743, allocations: 245 kB / 0.6354 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.1745, allocations: 46.44 kB / 0.6355 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1746, allocations: 20.91 kB / 0.6355 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006913/0.1753, allocations: 457.4 kB / 0.6359 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1753, allocations: 38.56 kB / 0.636 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1753, allocations: 0 / 0.636 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003509/0.1757, allocations: 81.55 kB / 0.6361 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1757, allocations: 55.41 kB / 0.6361 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.1758, allocations: 93.86 kB / 0.6362 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1759, allocations: 29.7 kB / 0.6362 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.1759, allocations: 88.25 kB / 0.6363 GB, free: 436 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.1759, allocations: 7.844 kB / 0.6363 GB, free: 428 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.176, allocations: 13.72 kB / 0.6363 GB, free: 408 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1761, allocations: 318.8 kB / 0.6366 GB, free: 80 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.1762, allocations: 15.98 kB / 0.6366 GB, free: 64 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-05/0.1763, allocations: 19.97 kB / 0.6367 GB, free: 44 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1764, allocations: 40.89 kB / 0.6367 GB, free: 0 / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1764, allocations: 0 / 0.6367 GB, free: 0 / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002203/0.1767, allocations: 65.59 kB / 0.6368 GB, free: 15.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.1767, allocations: 8 kB / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1767, allocations: 0 / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1767, allocations: 0 / 0.6368 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.1768, allocations: 15.95 kB / 0.6368 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1768, allocations: 0 / 0.6368 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.1769, allocations: 4 kB / 0.6368 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1769, allocations: 4 kB / 0.6368 GB, free: 15.9 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.252e-05/0.177, allocations: 113.8 kB / 0.6369 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.177, allocations: 3.984 kB / 0.6369 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.1773, allocations: 76.72 kB / 0.637 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1773, allocations: 0 / 0.637 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1773, allocations: 0 / 0.637 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1773, allocations: 0 / 0.637 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1775, allocations: 157.6 kB / 0.6371 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1775, allocations: 0 / 0.6371 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.1775, allocations: 19.92 kB / 0.6372 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1775, allocations: 0 / 0.6372 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1776, allocations: 4 kB / 0.6372 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1776, allocations: 3.938 kB / 0.6372 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1776, allocations: 0 / 0.6372 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1778, allocations: 167.4 kB / 0.6373 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.1779, allocations: 77.11 kB / 0.6374 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1779, allocations: 4 kB / 0.6374 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.178, allocations: 3.984 kB / 0.6374 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.178, allocations: 8.188 kB / 0.6374 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.178, allocations: 4.031 kB / 0.6374 GB, free: 15.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.254e-05/0.1781, allocations: 87.25 kB / 0.6375 GB, free: 15.08 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1781, allocations: 0 / 0.6375 GB, free: 15.08 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1783, allocations: 16 kB / 0.6375 GB, free: 15.07 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.0002214/0.1786, allocations: 111.2 kB / 0.6376 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.1788, allocations: 47.91 kB / 0.6377 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1788, allocations: 0 / 0.6377 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.567e-05/0.1789, allocations: 11.98 kB / 0.6377 GB, free: 14.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.1792, allocations: 11.92 kB / 0.6377 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.1795, allocations: 135.3 kB / 0.6378 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1797, allocations: 0.6769 MB / 0.6385 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.1798, allocations: 7.438 kB / 0.6385 GB, free: 14 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1798, allocations: 0 / 0.6385 GB, free: 14 MB / 494.1 MB Notification: Performance of Templates: time 0.002229/0.182, allocations: 0.7662 MB / 0.6392 GB, free: 13.23 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)