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.001205/0.001205, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.316/1.316, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6502/0.6502, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003519, allocations: 8 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 77.16 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.001527/0.1333, allocations: 1.223 MB / 0.558 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002384/0.1335, allocations: 112.5 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.1336, allocations: 0 / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.523e-05/0.1337, allocations: 3.938 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.248e-05/0.1337, allocations: 15.98 kB / 0.5582 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.1339, allocations: 19.97 kB / 0.5582 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.1339, allocations: 27.97 kB / 0.5582 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.134, allocations: 19.97 kB / 0.5582 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.1341, allocations: 19.92 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.1341, allocations: 27.84 kB / 0.5583 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1341, allocations: 4 kB / 0.5583 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.839e-05/0.1342, allocations: 12 kB / 0.5583 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.1342, allocations: 11.92 kB / 0.5583 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.1343, allocations: 33.64 kB / 0.5583 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.17e-05/0.1343, allocations: 43.91 kB / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1343, allocations: 0 / 0.5584 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1343, allocations: 3.938 kB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1344, allocations: 4 kB / 0.5584 GB, free: 10.04 MB / 430.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.0004359/0.1348, allocations: 373.2 kB / 0.5587 GB, free: 9.629 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.1348, allocations: 16.02 kB / 0.5588 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.1349, allocations: 3.906 kB / 0.5588 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.135, allocations: 186.9 kB / 0.5589 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1351, allocations: 4 kB / 0.5589 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.1351, allocations: 0 / 0.5589 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.1354, allocations: 105.5 kB / 0.559 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.1354, allocations: 0 / 0.559 GB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1354, allocations: 4 kB / 0.559 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1354, allocations: 4 kB / 0.559 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.1357, allocations: 99.91 kB / 0.5591 GB, free: 9.168 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.1362, allocations: 344.6 kB / 0.5595 GB, free: 8.781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.1364, allocations: 70.53 kB / 0.5595 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1365, allocations: 4 kB / 0.5595 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.1365, allocations: 30.56 kB / 0.5596 GB, free: 8.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 3.316e-06/0.1365, allocations: 96 / 0.5596 GB, free: 8.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005567/0.1371, allocations: 173.6 kB / 0.5597 GB, free: 8.484 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.1371, allocations: 51.41 kB / 0.5598 GB, free: 8.422 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.1372, allocations: 121.8 kB / 0.5599 GB, free: 8.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1372, allocations: 25.7 kB / 0.5599 GB, free: 8.262 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.1373, allocations: 95.98 kB / 0.56 GB, free: 8.164 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.1373, allocations: 11.91 kB / 0.56 GB, free: 8.152 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.1373, allocations: 0 / 0.56 GB, free: 8.152 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.1374, allocations: 322.8 kB / 0.5603 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.1376, allocations: 39.97 kB / 0.5604 GB, free: 7.789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.1377, allocations: 47.95 kB / 0.5604 GB, free: 7.742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1379, allocations: 48.23 kB / 0.5605 GB, free: 7.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1379, allocations: 0 / 0.5605 GB, free: 7.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003501/0.1383, allocations: 137.5 kB / 0.5606 GB, free: 7.555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1383, allocations: 4 kB / 0.5606 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1383, allocations: 3.938 kB / 0.5606 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.1383, allocations: 0 / 0.5606 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1384, allocations: 23.97 kB / 0.5606 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1384, allocations: 0 / 0.5606 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.354e-05/0.1385, allocations: 19.98 kB / 0.5606 GB, free: 7.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1386, allocations: 4 kB / 0.5606 GB, free: 7.5 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.653e-05/0.1386, allocations: 117.8 kB / 0.5608 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.1387, allocations: 3.984 kB / 0.5608 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.1391, allocations: 137.5 kB / 0.5609 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1391, allocations: 0 / 0.5609 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1391, allocations: 0 / 0.5609 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1391, allocations: 0 / 0.5609 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1393, allocations: 189.5 kB / 0.5611 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1393, allocations: 4 kB / 0.5611 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.1394, allocations: 23.97 kB / 0.5611 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1394, allocations: 0 / 0.5611 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1394, allocations: 0 / 0.5611 GB, free: 6.965 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1394, allocations: 4 kB / 0.5611 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1394, allocations: 0 / 0.5611 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.1398, allocations: 223.4 kB / 0.5613 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.1399, allocations: 92.91 kB / 0.5614 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.1399, allocations: 0 / 0.5614 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.14, allocations: 15.98 kB / 0.5614 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.1401, allocations: 7.984 kB / 0.5614 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.1401, allocations: 0 / 0.5614 GB, free: 6.594 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.327e-05/0.1401, allocations: 96.69 kB / 0.5615 GB, free: 6.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1401, allocations: 0 / 0.5615 GB, free: 6.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.1404, allocations: 15.94 kB / 0.5615 GB, free: 6.484 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001216/0.1405, allocations: 95.94 kB / 0.5616 GB, free: 6.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.1408, allocations: 95.92 kB / 0.5617 GB, free: 6.289 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1409, allocations: 0 / 0.5617 GB, free: 6.289 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.141, allocations: 59.89 kB / 0.5618 GB, free: 6.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.1412, allocations: 4 kB / 0.5618 GB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.1415, allocations: 156.9 kB / 0.5619 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.1418, allocations: 0.6965 MB / 0.5626 GB, free: 5.324 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.809e-05/0.1418, allocations: 12 kB / 0.5626 GB, free: 5.312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.1418, allocations: 11.42 kB / 0.5626 GB, free: 5.301 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1418, allocations: 0 / 0.5626 GB, free: 5.301 MB / 430.1 MB Notification: Performance of Templates: time 0.002233/0.1441, allocations: 0.6031 MB / 0.5632 GB, free: 4.703 MB / 430.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)