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.001198/0.001198, allocations: 112.6 kB / 17.08 MB, free: 6.016 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.001004/0.001004, allocations: 199 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.31/1.31, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7295/0.7295, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.08 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1564, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002734/0.1592, allocations: 1.536 MB / 0.6342 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003733/0.1596, allocations: 108.5 kB / 0.6343 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.1597, allocations: 0 / 0.6343 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.1598, allocations: 11.86 kB / 0.6344 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.208e-05/0.1599, allocations: 7.938 kB / 0.6344 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1601, allocations: 23.97 kB / 0.6344 GB, free: 2.695 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1602, allocations: 59.81 kB / 0.6344 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1604, allocations: 24 kB / 0.6345 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.1604, allocations: 27.84 kB / 0.6345 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.1605, allocations: 23.92 kB / 0.6345 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1605, allocations: 4 kB / 0.6345 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.835e-05/0.1606, allocations: 19.98 kB / 0.6345 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.1607, allocations: 15.92 kB / 0.6345 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.1607, allocations: 23.88 kB / 0.6346 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.1609, allocations: 63.78 kB / 0.6346 GB, free: 2.438 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1609, allocations: 3.938 kB / 0.6346 GB, free: 2.434 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1609, allocations: 0 / 0.6346 GB, free: 2.434 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1609, allocations: 0 / 0.6346 GB, free: 2.434 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.0005209/0.1614, allocations: 371.3 kB / 0.635 GB, free: 2.02 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1615, allocations: 16.02 kB / 0.635 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.1615, allocations: 8.844 kB / 0.635 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.1617, allocations: 184.2 kB / 0.6352 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1617, allocations: 8.375 kB / 0.6352 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.1617, allocations: 384 / 0.6352 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.162, allocations: 90.14 kB / 0.6353 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.162, allocations: 192 / 0.6353 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.162, allocations: 11.86 kB / 0.6353 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1621, allocations: 4 kB / 0.6353 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.1623, allocations: 83.91 kB / 0.6354 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.1629, allocations: 328.6 kB / 0.6357 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1631, allocations: 62.53 kB / 0.6358 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.1632, allocations: 44.91 kB / 0.6358 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.1633, allocations: 0 / 0.6358 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.1633, allocations: 30.56 kB / 0.6358 GB, free: 1.051 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1633, allocations: 0 / 0.6358 GB, free: 1.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005418/0.1639, allocations: 141.6 kB / 0.636 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1639, allocations: 51.41 kB / 0.636 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.164, allocations: 113.8 kB / 0.6361 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.164, allocations: 25.7 kB / 0.6361 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.1641, allocations: 99.97 kB / 0.6362 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.1641, allocations: 7.906 kB / 0.6362 GB, free: 0.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1641, allocations: 17.72 kB / 0.6363 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1642, allocations: 322.8 kB / 0.6366 GB, free: 240 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1644, allocations: 31.97 kB / 0.6366 GB, free: 208 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.1645, allocations: 35.95 kB / 0.6366 GB, free: 172 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.1648, allocations: 72.78 kB / 0.6367 GB, free: 96 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1648, allocations: 0 / 0.6367 GB, free: 96 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003235/0.1651, allocations: 113.5 kB / 0.6368 GB, free: 15.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1652, allocations: 4 kB / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1652, allocations: 3.938 kB / 0.6368 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1652, allocations: 4 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1653, allocations: 15.98 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1653, allocations: 0 / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.1654, allocations: 15.97 kB / 0.6369 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.1655, allocations: 0 / 0.6369 GB, free: 15.93 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 8.813e-05/0.1655, allocations: 118.4 kB / 0.637 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.1656, allocations: 4 kB / 0.637 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003687/0.166, allocations: 121.4 kB / 0.6371 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.166, allocations: 0 / 0.6371 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.166, allocations: 0 / 0.6371 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.166, allocations: 0 / 0.6371 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1662, allocations: 185.5 kB / 0.6373 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1662, allocations: 0 / 0.6373 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.792e-05/0.1663, allocations: 19.98 kB / 0.6373 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1663, allocations: 384 / 0.6373 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1663, allocations: 4 kB / 0.6373 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1663, allocations: 0 / 0.6373 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1663, allocations: 3.938 kB / 0.6373 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.1667, allocations: 203.4 kB / 0.6375 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.1667, allocations: 88.95 kB / 0.6376 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1667, allocations: 4 kB / 0.6376 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1669, allocations: 19.91 kB / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.1669, allocations: 0 / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.1669, allocations: 0 / 0.6376 GB, free: 15.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.09e-05/0.167, allocations: 95.27 kB / 0.6377 GB, free: 14.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.167, allocations: 0 / 0.6377 GB, free: 14.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1672, allocations: 16 kB / 0.6377 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.0001385/0.1674, allocations: 103.2 kB / 0.6378 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.1677, allocations: 75.91 kB / 0.6379 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1677, allocations: 0 / 0.6379 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.1679, allocations: 43.89 kB / 0.6379 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.0003116/0.1682, allocations: 15.94 kB / 0.6379 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/0.1686, allocations: 167.3 kB / 0.6381 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.1689, allocations: 0.6924 MB / 0.6388 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.1689, allocations: 11.44 kB / 0.6388 GB, free: 13.79 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1689, allocations: 0 / 0.6388 GB, free: 13.79 MB / 494.1 MB Notification: Performance of Templates: time 0.00255/0.1715, allocations: 0.9435 MB / 0.6397 GB, free: 12.86 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)