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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 74.98 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 171 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.387/1.387, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9304/0.9304, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.5547 GB, free: 2.617 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.639e-05/3.818e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.613 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.003322/0.00336, allocations: 1.544 MB / 0.5562 GB, free: 1.059 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003994/0.003759, allocations: 115.5 kB / 0.5563 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.003833, allocations: 4 kB / 0.5563 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.003974, allocations: 11.88 kB / 0.5563 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.084e-05/0.004005, allocations: 3.938 kB / 0.5563 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.004314, allocations: 35.88 kB / 0.5564 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.004433, allocations: 55.84 kB / 0.5564 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.004549, allocations: 11.98 kB / 0.5564 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/0.004641, allocations: 43.89 kB / 0.5565 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.004708, allocations: 19.97 kB / 0.5565 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.00473, allocations: 4 kB / 0.5565 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.412e-05/0.004794, allocations: 12 kB / 0.5565 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.004842, allocations: 19.92 kB / 0.5565 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.004882, allocations: 15.92 kB / 0.5565 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.005033, allocations: 63.8 kB / 0.5566 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005035, allocations: 0 / 0.5566 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005036, allocations: 0 / 0.5566 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.005046, allocations: 0 / 0.5566 GB, free: 0.6484 MB / 462.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.0005606/0.005606, allocations: 302.1 kB / 0.5569 GB, free: 328 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.005645, allocations: 12.62 kB / 0.5569 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.005685, allocations: 12.89 kB / 0.5569 GB, free: 304 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.005868, allocations: 128.7 kB / 0.557 GB, free: 152 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-06/0.005874, allocations: 4.375 kB / 0.557 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.005893, allocations: 4.375 kB / 0.557 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.006197, allocations: 90.12 kB / 0.5571 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.006208, allocations: 192 / 0.5571 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.006221, allocations: 4.375 kB / 0.5571 GB, free: 44 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.006226, allocations: 384 / 0.5571 GB, free: 44 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.006573, allocations: 87.8 kB / 0.5572 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.007139, allocations: 264.3 kB / 0.5575 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.007367, allocations: 58.56 kB / 0.5575 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.007531, allocations: 48.84 kB / 0.5576 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.007571, allocations: 4 kB / 0.5576 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.007599, allocations: 34.56 kB / 0.5576 GB, free: 15.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.0076, allocations: 0 / 0.5576 GB, free: 15.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005961/0.008196, allocations: 129.6 kB / 0.5577 GB, free: 15.37 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.008234, allocations: 55.41 kB / 0.5578 GB, free: 15.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.008335, allocations: 121.8 kB / 0.5579 GB, free: 15.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.008358, allocations: 25.7 kB / 0.5579 GB, free: 15.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.008412, allocations: 88.09 kB / 0.558 GB, free: 15.05 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.008434, allocations: 19.84 kB / 0.558 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.008475, allocations: 21.7 kB / 0.558 GB, free: 15.01 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.008623, allocations: 314.8 kB / 0.5583 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.008781, allocations: 35.95 kB / 0.5584 GB, free: 14.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.008927, allocations: 35.97 kB / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.009217, allocations: 69.06 kB / 0.5585 GB, free: 14.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.009219, allocations: 0 / 0.5585 GB, free: 14.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003566/0.009575, allocations: 113.5 kB / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.009589, allocations: 8 kB / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.009594, allocations: 0 / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.009609, allocations: 0 / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.009735, allocations: 19.92 kB / 0.5586 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.009742, allocations: 3.984 kB / 0.5586 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.009822, allocations: 11.98 kB / 0.5586 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.009838, allocations: 0 / 0.5586 GB, free: 14.39 MB / 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 (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.967e-05/0.009927, allocations: 117.8 kB / 0.5587 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.009959, allocations: 15.89 kB / 0.5588 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003956/0.01035, allocations: 109.6 kB / 0.5589 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.01036, allocations: 4 kB / 0.5589 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01036, allocations: 0 / 0.5589 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.01036, allocations: 0 / 0.5589 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.01054, allocations: 129.1 kB / 0.559 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01054, allocations: 3.984 kB / 0.559 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.01064, allocations: 19.98 kB / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.01065, allocations: 3.938 kB / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.01066, allocations: 4 kB / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.01066, allocations: 3.938 kB / 0.559 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01066, allocations: 0 / 0.559 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.01107, allocations: 199.4 kB / 0.5592 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.01108, allocations: 7.938 kB / 0.5592 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.01109, allocations: 4 kB / 0.5592 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.0112, allocations: 7.984 kB / 0.5592 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.01125, allocations: 7.984 kB / 0.5592 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01125, allocations: 0 / 0.5592 GB, free: 13.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.035e-05/0.01131, allocations: 91.27 kB / 0.5593 GB, free: 13.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01131, allocations: 0 / 0.5593 GB, free: 13.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.01155, allocations: 19.95 kB / 0.5593 GB, free: 13.59 MB / 478.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.0001592/0.01171, allocations: 91.25 kB / 0.5594 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.01209, allocations: 83.84 kB / 0.5595 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01209, allocations: 0 / 0.5595 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.01226, allocations: 35.97 kB / 0.5595 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.01255, allocations: 11.98 kB / 0.5596 GB, free: 13.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.01293, allocations: 144.8 kB / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.45e-05/0.01301, allocations: 75.58 kB / 0.5598 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.034e-05/0.01305, allocations: 12 kB / 0.5598 GB, free: 13.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.01309, allocations: 12.48 kB / 0.5598 GB, free: 13.08 MB / 478.1 MB Notification: Performance of SimCode: time 3e-07/0.01309, allocations: 0 / 0.5598 GB, free: 13.08 MB / 478.1 MB Notification: Performance of Templates: time 0.003602/0.01669, allocations: 0.8175 MB / 0.5606 GB, free: 12.28 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.190752357244492] Failed to read output from testmodel.py, exit status != 0: 0.02536347135901451 0.040337689 0.032301636 Calling exit ...