Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 105.5 kB / 16.4 MB, free: 6.438 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.0009881/0.0009882, allocations: 191.9 kB / 17.34 MB, free: 5.746 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.4/1.4, allocations: 222.9 MB / 241 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.7378/0.7378, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 65.98 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 76.18 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002733/0.165, allocations: 1.525 MB / 0.6336 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003595/0.1654, allocations: 108.5 kB / 0.6337 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.1655, allocations: 4 kB / 0.6337 GB, free: 2.746 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.1656, allocations: 11.86 kB / 0.6337 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.18e-05/0.1656, allocations: 7.922 kB / 0.6337 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1659, allocations: 31.91 kB / 0.6337 GB, free: 2.695 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.166, allocations: 47.91 kB / 0.6338 GB, free: 2.648 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1661, allocations: 27.98 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.1662, allocations: 23.91 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.1663, allocations: 31.86 kB / 0.6339 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1663, allocations: 7.984 kB / 0.6339 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.1664, allocations: 15.98 kB / 0.6339 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.1664, allocations: 23.92 kB / 0.6339 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.1665, allocations: 19.88 kB / 0.6339 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1667, allocations: 59.73 kB / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1667, allocations: 0 / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1667, allocations: 0 / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1667, allocations: 4 kB / 0.634 GB, free: 2.438 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005454/0.1672, allocations: 375.3 kB / 0.6343 GB, free: 2.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1673, allocations: 8.031 kB / 0.6343 GB, free: 2.012 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.1673, allocations: 12.84 kB / 0.6344 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.1675, allocations: 188.1 kB / 0.6345 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1675, allocations: 4.375 kB / 0.6345 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.1675, allocations: 4.375 kB / 0.6345 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.1678, allocations: 90.14 kB / 0.6346 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1679, allocations: 192 / 0.6346 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1679, allocations: 7.922 kB / 0.6346 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1679, allocations: 3.938 kB / 0.6346 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.1682, allocations: 83.91 kB / 0.6347 GB, free: 1.582 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.1688, allocations: 328.6 kB / 0.635 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.169, allocations: 62.53 kB / 0.6351 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.1692, allocations: 40.91 kB / 0.6351 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.1692, allocations: 4 kB / 0.6351 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1693, allocations: 30.56 kB / 0.6352 GB, free: 1.055 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 2.896e-06/0.1693, allocations: 96 / 0.6352 GB, free: 1.055 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005813/0.1699, allocations: 141.5 kB / 0.6353 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.1699, allocations: 51.41 kB / 0.6353 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.17, allocations: 117.8 kB / 0.6355 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.17, allocations: 25.7 kB / 0.6355 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.1701, allocations: 95.97 kB / 0.6356 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.1701, allocations: 11.91 kB / 0.6356 GB, free: 0.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/0.1702, allocations: 17.72 kB / 0.6356 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1703, allocations: 318.8 kB / 0.6359 GB, free: 244 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.1704, allocations: 35.97 kB / 0.6359 GB, free: 208 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1706, allocations: 31.95 kB / 0.636 GB, free: 176 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.1709, allocations: 80.72 kB / 0.6361 GB, free: 92 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1709, allocations: 0 / 0.6361 GB, free: 92 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000346/0.1712, allocations: 101.6 kB / 0.6361 GB, free: 15.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1713, allocations: 8 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1713, allocations: 4 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1713, allocations: 0 / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1714, allocations: 19.92 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1714, allocations: 0 / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/0.1715, allocations: 11.92 kB / 0.6362 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.1716, allocations: 4 kB / 0.6362 GB, free: 15.94 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 (3): * Single equations (assignments): 3 * 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 0.0001278/0.1717, allocations: 117.8 kB / 0.6363 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.1717, allocations: 0 / 0.6363 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.1721, allocations: 125.4 kB / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1721, allocations: 0 / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1721, allocations: 0 / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1722, allocations: 0 / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.1724, allocations: 185.5 kB / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1724, allocations: 0 / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.915e-05/0.1725, allocations: 15.98 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1725, allocations: 384 / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1725, allocations: 4 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1725, allocations: 0 / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1725, allocations: 0 / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.1729, allocations: 215.3 kB / 0.6368 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.173, allocations: 84.95 kB / 0.6369 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.173, allocations: 0 / 0.6369 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1731, allocations: 23.97 kB / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1732, allocations: 4 kB / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1732, allocations: 0 / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.356e-05/0.1732, allocations: 95.64 kB / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1732, allocations: 0 / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1735, allocations: 12 kB / 0.637 GB, free: 14.96 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 (3): * Single equations (assignments): 3 * 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.0001716/0.1737, allocations: 103.2 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.1741, allocations: 79.91 kB / 0.6372 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1741, allocations: 4 kB / 0.6372 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1743, allocations: 39.91 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1746, allocations: 13.39 kB / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.175, allocations: 151.5 kB / 0.6374 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1753, allocations: 0.6885 MB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.99e-05/0.1753, allocations: 7.984 kB / 0.6381 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.1754, allocations: 11.44 kB / 0.6381 GB, free: 13.82 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1754, allocations: 4 kB / 0.6381 GB, free: 13.81 MB / 494.1 MB Notification: Performance of Templates: time 0.00317/0.1786, allocations: 0.7568 MB / 0.6388 GB, free: 13.06 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)