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.001205/0.001205, allocations: 115.4 kB / 17.04 MB, free: 6.133 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.001033/0.001033, allocations: 200.1 kB / 17.98 MB, free: 5.23 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7712/0.7712, allocations: 115.3 MB / 407.1 MB, free: 6.25 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 69.3 kB / 0.5582 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1571, allocations: 76.17 MB / 0.6326 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002421/0.1595, allocations: 1.419 MB / 0.634 GB, free: 3.062 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005189/0.1601, allocations: 252.1 kB / 0.6342 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.1601, allocations: 0 / 0.6342 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.1601, allocations: 0 / 0.6342 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.308e-05/0.1602, allocations: 3.938 kB / 0.6342 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.1605, allocations: 51.81 kB / 0.6343 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.064e-05/0.1606, allocations: 27.92 kB / 0.6343 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.1607, allocations: 3.938 kB / 0.6343 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.286e-05/0.1608, allocations: 15.92 kB / 0.6343 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.891e-05/0.1608, allocations: 8 kB / 0.6343 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.1608, allocations: 4 kB / 0.6343 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.161, allocations: 59.92 kB / 0.6344 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.161, allocations: 7.938 kB / 0.6344 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.161, allocations: 12 kB / 0.6344 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1611, allocations: 55.78 kB / 0.6345 GB, free: 2.566 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1612, allocations: 0 / 0.6345 GB, free: 2.566 MB / 478.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1612, allocations: 0 / 0.6345 GB, free: 2.566 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1612, allocations: 0 / 0.6345 GB, free: 2.566 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.0004429/0.1616, allocations: 347.4 kB / 0.6348 GB, free: 2.176 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1617, allocations: 16.03 kB / 0.6348 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.1617, allocations: 0.9375 kB / 0.6348 GB, free: 2.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1618, allocations: 160.4 kB / 0.635 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1618, allocations: 4.375 kB / 0.635 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.1619, allocations: 384 / 0.635 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.162, allocations: 54.22 kB / 0.635 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.162, allocations: 192 / 0.635 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1621, allocations: 3.938 kB / 0.635 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1621, allocations: 0 / 0.635 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.1622, allocations: 47.83 kB / 0.6351 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.1626, allocations: 245 kB / 0.6353 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.1627, allocations: 42.48 kB / 0.6353 GB, free: 1.512 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.1628, allocations: 16.91 kB / 0.6354 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/0.1634, allocations: 457.5 kB / 0.6358 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1635, allocations: 38.48 kB / 0.6358 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1635, allocations: 0 / 0.6358 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003517/0.1638, allocations: 85.56 kB / 0.6359 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.1639, allocations: 51.41 kB / 0.636 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/0.164, allocations: 97.84 kB / 0.6361 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.164, allocations: 25.7 kB / 0.6361 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.164, allocations: 88.14 kB / 0.6362 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.164, allocations: 3.906 kB / 0.6362 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.1641, allocations: 13.7 kB / 0.6362 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1642, allocations: 323 kB / 0.6365 GB, free: 184 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.959e-05/0.1643, allocations: 11.98 kB / 0.6365 GB, free: 172 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.1643, allocations: 15.98 kB / 0.6365 GB, free: 156 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1645, allocations: 44.75 kB / 0.6366 GB, free: 108 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1645, allocations: 0 / 0.6366 GB, free: 108 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001811/0.1647, allocations: 69.67 kB / 0.6366 GB, free: 32 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1647, allocations: 4 kB / 0.6366 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1647, allocations: 3.938 kB / 0.6366 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1648, allocations: 3.984 kB / 0.6366 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/0.1648, allocations: 8 kB / 0.6366 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1648, allocations: 0 / 0.6366 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.1649, allocations: 11.98 kB / 0.6367 GB, free: 0 / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.1649, allocations: 176 / 0.6367 GB, free: 0 / 478.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 6.456e-05/0.165, allocations: 121.4 kB / 0.6368 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.165, allocations: 4 kB / 0.6368 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.1652, allocations: 72.66 kB / 0.6368 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1653, allocations: 0 / 0.6368 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.1653, allocations: 3.984 kB / 0.6368 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1653, allocations: 4 kB / 0.6368 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.1654, allocations: 157.6 kB / 0.637 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1654, allocations: 4.031 kB / 0.637 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.1655, allocations: 7.984 kB / 0.637 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1655, allocations: 3.938 kB / 0.637 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1655, allocations: 4 kB / 0.637 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1655, allocations: 0 / 0.637 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1655, allocations: 0 / 0.637 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.1658, allocations: 175.3 kB / 0.6372 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.1658, allocations: 77.11 kB / 0.6373 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.1658, allocations: 0 / 0.6373 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.1659, allocations: 7.984 kB / 0.6373 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.166, allocations: 0 / 0.6373 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.166, allocations: 4 kB / 0.6373 GB, free: 15.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.44e-05/0.166, allocations: 83.22 kB / 0.6373 GB, free: 15.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.166, allocations: 0 / 0.6373 GB, free: 15.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.1663, allocations: 23.98 kB / 0.6374 GB, free: 15.16 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.0001846/0.1664, allocations: 115.3 kB / 0.6375 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1667, allocations: 35.95 kB / 0.6375 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1667, allocations: 64 / 0.6375 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.1668, allocations: 27.92 kB / 0.6375 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.167, allocations: 5.344 kB / 0.6375 GB, free: 14.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.1673, allocations: 131.3 kB / 0.6377 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.1675, allocations: 0.6768 MB / 0.6383 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.1676, allocations: 7.438 kB / 0.6383 GB, free: 14.1 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1676, allocations: 0 / 0.6383 GB, free: 14.1 MB / 494.1 MB Notification: Performance of Templates: time 0.002113/0.1697, allocations: 0.7737 MB / 0.6391 GB, free: 13.33 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)