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.0006055/0.0006055, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.001104/0.001104, allocations: 165.9 kB / 23.96 MB, free: 0.5938 MB / 18.57 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 0.8658/0.8658, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 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.5246/0.5246, allocations: 114 MB / 374.7 MB, free: 8.73 MB / 346.7 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.383e-06/1.383e-06, allocations: 0 / 0.5554 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.865e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.001663/0.001682, allocations: 1.54 MB / 0.5569 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002515/0.001933, allocations: 123.6 kB / 0.557 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.001975, allocations: 3.938 kB / 0.557 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.002082, allocations: 3.938 kB / 0.5571 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.088e-05/0.002103, allocations: 19.84 kB / 0.5571 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.002324, allocations: 27.97 kB / 0.5571 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.135e-05/0.002406, allocations: 51.78 kB / 0.5571 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.002502, allocations: 23.97 kB / 0.5572 GB, free: 488 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.292e-05/0.002555, allocations: 27.97 kB / 0.5572 GB, free: 460 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.002606, allocations: 23.91 kB / 0.5572 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.002623, allocations: 8 kB / 0.5572 GB, free: 428 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.846e-05/0.002671, allocations: 12 kB / 0.5572 GB, free: 416 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.00271, allocations: 11.98 kB / 0.5572 GB, free: 404 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.002734, allocations: 19.91 kB / 0.5573 GB, free: 384 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.002844, allocations: 67.72 kB / 0.5573 GB, free: 316 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.002846, allocations: 4 kB / 0.5573 GB, free: 312 kB / 0.5105 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002847, allocations: 4 kB / 0.5573 GB, free: 308 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.002851, allocations: 0 / 0.5573 GB, free: 308 kB / 0.5105 GB 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.0003541/0.003205, allocations: 298.1 kB / 0.5576 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.003234, allocations: 8.625 kB / 0.5576 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.003263, allocations: 12.83 kB / 0.5576 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.003379, allocations: 125.7 kB / 0.5578 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.003386, allocations: 384 / 0.5578 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.003396, allocations: 8.375 kB / 0.5578 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.003564, allocations: 94.14 kB / 0.5579 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.003571, allocations: 192 / 0.5579 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.003579, allocations: 384 / 0.5579 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.003583, allocations: 4.312 kB / 0.5579 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.003735, allocations: 87.84 kB / 0.558 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.004038, allocations: 256.4 kB / 0.5582 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.004147, allocations: 58.53 kB / 0.5583 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.004219, allocations: 40.84 kB / 0.5583 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.004248, allocations: 4 kB / 0.5583 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.004266, allocations: 30.56 kB / 0.5583 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.004266, allocations: 4 kB / 0.5583 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002883/0.004555, allocations: 141.6 kB / 0.5585 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.004582, allocations: 51.41 kB / 0.5585 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.004645, allocations: 113.8 kB / 0.5586 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.004653, allocations: 25.7 kB / 0.5586 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.004692, allocations: 100 kB / 0.5587 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.004709, allocations: 11.91 kB / 0.5588 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.004734, allocations: 17.7 kB / 0.5588 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.129e-05/0.004805, allocations: 318.8 kB / 0.5591 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.799e-05/0.004873, allocations: 31.95 kB / 0.5591 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.004935, allocations: 31.97 kB / 0.5591 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.005063, allocations: 80.77 kB / 0.5592 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.005065, allocations: 4 kB / 0.5592 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001519/0.005217, allocations: 101.5 kB / 0.5593 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.005228, allocations: 11.94 kB / 0.5593 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.005232, allocations: 0 / 0.5593 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005242, allocations: 336 / 0.5593 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.005309, allocations: 19.97 kB / 0.5593 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.005314, allocations: 4 kB / 0.5593 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.005346, allocations: 7.984 kB / 0.5594 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.005363, allocations: 8 kB / 0.5594 GB, free: 14.05 MB / 0.5261 GB 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 5.407e-05/0.005417, allocations: 113.8 kB / 0.5595 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.00543, allocations: 11.88 kB / 0.5595 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.005621, allocations: 121.5 kB / 0.5596 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005622, allocations: 0 / 0.5596 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.005626, allocations: 0 / 0.5596 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.005628, allocations: 0 / 0.5596 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.975e-05/0.005718, allocations: 125.2 kB / 0.5597 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.005718, allocations: 0 / 0.5597 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.005755, allocations: 15.98 kB / 0.5597 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.005758, allocations: 3.938 kB / 0.5597 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.005764, allocations: 0 / 0.5597 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.005764, allocations: 4 kB / 0.5597 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.005765, allocations: 0 / 0.5597 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.005936, allocations: 207.4 kB / 0.5599 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-06/0.005943, allocations: 3.938 kB / 0.5599 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.005952, allocations: 0 / 0.5599 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.625e-05/0.005998, allocations: 11.98 kB / 0.56 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.006031, allocations: 11.92 kB / 0.56 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.006035, allocations: 8 kB / 0.56 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.192e-05/0.006066, allocations: 94.98 kB / 0.5601 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006067, allocations: 0 / 0.5601 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001456/0.006212, allocations: 11.95 kB / 0.5601 GB, free: 13.26 MB / 0.5261 GB 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 8.623e-05/0.006298, allocations: 95.25 kB / 0.5602 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.006474, allocations: 79.91 kB / 0.5602 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.006475, allocations: 0 / 0.5602 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.006547, allocations: 39.91 kB / 0.5603 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.006723, allocations: 9.391 kB / 0.5603 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.00697, allocations: 190.3 kB / 0.5605 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.772e-05/0.007018, allocations: 71.33 kB / 0.5605 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.007041, allocations: 12.5 kB / 0.5605 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of SimCode: time 3.71e-07/0.007042, allocations: 4 kB / 0.5606 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.00157/0.008612, allocations: 0.9607 MB / 0.5615 GB, free: 11.75 MB / 0.5261 GB " [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: 4.880596607923508] Failed to read output from testmodel.py, exit status != 0: 0.012694929726421833 0.019901053000000002 0.015530637000000002 Calling exit ...