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.0008276/0.0008276, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.0008444/0.0008444, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9196/0.9196, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5847/0.5847, allocations: 114 MB / 373.9 MB, free: 8.715 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.88e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002588/0.002607, allocations: 1.537 MB / 0.5557 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000331/0.002938, allocations: 123.7 kB / 0.5558 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.002999, allocations: 0 / 0.5558 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.003126, allocations: 11.86 kB / 0.5558 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.562e-05/0.003152, allocations: 7.938 kB / 0.5558 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.003429, allocations: 31.89 kB / 0.5559 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.003535, allocations: 55.78 kB / 0.5559 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.003652, allocations: 19.92 kB / 0.5559 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/0.003726, allocations: 31.95 kB / 0.556 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.003795, allocations: 23.91 kB / 0.556 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.003815, allocations: 12 kB / 0.556 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-05/0.003877, allocations: 12 kB / 0.556 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.003927, allocations: 15.92 kB / 0.556 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.003957, allocations: 11.98 kB / 0.556 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/0.004378, allocations: 63.78 kB / 0.5561 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.004383, allocations: 4 kB / 0.5561 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.452e-06/0.004385, allocations: 0 / 0.5561 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.00439, allocations: 0 / 0.5561 GB, free: 0.8203 MB / 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.0004777/0.004867, allocations: 302.1 kB / 0.5564 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.004917, allocations: 12.62 kB / 0.5564 GB, free: 492 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.004948, allocations: 38.75 kB / 0.5564 GB, free: 444 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.004973, allocations: 8.891 kB / 0.5564 GB, free: 436 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.005097, allocations: 133.6 kB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.005105, allocations: 384 / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.005113, allocations: 4.375 kB / 0.5566 GB, free: 272 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.005295, allocations: 82.2 kB / 0.5567 GB, free: 184 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.005302, allocations: 192 / 0.5567 GB, free: 184 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.00531, allocations: 8.375 kB / 0.5567 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.005315, allocations: 8.125 kB / 0.5567 GB, free: 168 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.005465, allocations: 83.78 kB / 0.5568 GB, free: 84 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.005807, allocations: 283.8 kB / 0.557 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.005925, allocations: 66.56 kB / 0.5571 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.196e-05/0.005997, allocations: 36.91 kB / 0.5571 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.006026, allocations: 4 kB / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.006042, allocations: 30.56 kB / 0.5572 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.006043, allocations: 0 / 0.5572 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002933/0.006336, allocations: 145.7 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.006364, allocations: 55.34 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.1e-05/0.006425, allocations: 113.2 kB / 0.5575 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.006434, allocations: 25.7 kB / 0.5575 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.006473, allocations: 96.12 kB / 0.5576 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.006489, allocations: 11.84 kB / 0.5576 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.006516, allocations: 17.72 kB / 0.5576 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.006586, allocations: 318.8 kB / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/0.006653, allocations: 35.91 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.006717, allocations: 39.98 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.006851, allocations: 80.72 kB / 0.5581 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006853, allocations: 0 / 0.5581 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000156/0.007009, allocations: 101.6 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.00702, allocations: 11.94 kB / 0.5582 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.007025, allocations: 0 / 0.5582 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.007035, allocations: 0 / 0.5582 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.007105, allocations: 11.98 kB / 0.5582 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007109, allocations: 4 kB / 0.5582 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.007143, allocations: 11.97 kB / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.007161, allocations: 4 kB / 0.5582 GB, free: 14.48 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.489e-05/0.007216, allocations: 121.8 kB / 0.5583 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.007228, allocations: 3.953 kB / 0.5583 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.007425, allocations: 117.6 kB / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007427, allocations: 0 / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.007431, allocations: 0 / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.007433, allocations: 0 / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.007539, allocations: 148.7 kB / 0.5586 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.00754, allocations: 4 kB / 0.5586 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.00758, allocations: 19.92 kB / 0.5586 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.007581, allocations: 4 kB / 0.5586 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.007587, allocations: 0 / 0.5586 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.007588, allocations: 0 / 0.5586 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007589, allocations: 0 / 0.5586 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.007766, allocations: 203.4 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.007773, allocations: 4 kB / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.007784, allocations: 7.938 kB / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.688e-05/0.007831, allocations: 11.98 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.007865, allocations: 3.984 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.007869, allocations: 0 / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.007902, allocations: 95.27 kB / 0.5589 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007902, allocations: 0 / 0.5589 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001469/0.008049, allocations: 19.83 kB / 0.5589 GB, free: 13.66 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 0.0003779/0.008427, allocations: 0.7358 MB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.008605, allocations: 76.19 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008606, allocations: 4 kB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.131e-05/0.008678, allocations: 39.91 kB / 0.5598 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.008874, allocations: 10.67 kB / 0.5598 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.009932, allocations: 1.436 MB / 0.5612 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.996e-05/0.009982, allocations: 75.33 kB / 0.5612 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.845e-05/0.01001, allocations: 4 kB / 0.5612 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.01005, allocations: 16.48 kB / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of SimCode: time 8.52e-07/0.01005, allocations: 0 / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.02554, allocations: 2.523 MB / 0.5637 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.097/7.123, allocations: 2.922 kB / 0.5637 GB, free: 8.762 MB / 0.5261 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_Average.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.776649943552911] Failed to read output from testmodel.py, exit status != 0: 7.207330703735352 7.220922841 7.213763201 Calling exit ...