Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.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.0008258/0.0008258, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0008749/0.0008749, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8824/0.8824, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5392/0.5392, allocations: 114 MB / 373.9 MB, free: 8.707 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.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.5543 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.276e-05, allocations: 5.453 kB / 0.5543 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.001207/0.001229, allocations: 0.6864 MB / 0.5549 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007729/0.002002, allocations: 0.8198 MB / 0.5557 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.002036, allocations: 0 / 0.5557 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.002064, allocations: 3.938 kB / 0.5557 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.002123, allocations: 11.88 kB / 0.5557 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 6.091e-05/0.002184, allocations: 15.97 kB / 0.5558 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.321e-05/0.002257, allocations: 47.84 kB / 0.5558 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.002352, allocations: 11.98 kB / 0.5558 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.002427, allocations: 19.98 kB / 0.5558 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.744e-05/0.002464, allocations: 19.92 kB / 0.5559 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.002485, allocations: 4 kB / 0.5559 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-06/0.002491, allocations: 4 kB / 0.5559 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.002507, allocations: 7.984 kB / 0.5559 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.002527, allocations: 11.94 kB / 0.5559 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.032e-05/0.002608, allocations: 47.84 kB / 0.5559 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00261, allocations: 0 / 0.5559 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00261, allocations: 0 / 0.5559 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.002614, allocations: 0 / 0.5559 GB, free: 1.012 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003605/0.002975, allocations: 286.3 kB / 0.5562 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.003013, allocations: 12.03 kB / 0.5562 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.003042, allocations: 30.75 kB / 0.5562 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.003062, allocations: 8.875 kB / 0.5563 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.63e-05/0.003139, allocations: 117.7 kB / 0.5564 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.003148, allocations: 384 / 0.5564 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-06/0.003156, allocations: 8.375 kB / 0.5564 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.003308, allocations: 66.22 kB / 0.5564 GB, free: 432 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.003315, allocations: 192 / 0.5564 GB, free: 432 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.003323, allocations: 4.375 kB / 0.5564 GB, free: 428 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.00333, allocations: 12.06 kB / 0.5565 GB, free: 416 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.003467, allocations: 59.92 kB / 0.5565 GB, free: 356 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.003751, allocations: 232 kB / 0.5567 GB, free: 80 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.003864, allocations: 58.53 kB / 0.5568 GB, free: 12 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.499e-05/0.003949, allocations: 36.91 kB / 0.5568 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.00396, allocations: 3.938 kB / 0.5568 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.00398, allocations: 38.56 kB / 0.5569 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.003981, allocations: 0 / 0.5569 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002865/0.004267, allocations: 129.5 kB / 0.557 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.004294, allocations: 55.34 kB / 0.557 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.004353, allocations: 105.8 kB / 0.5571 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.004364, allocations: 29.7 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.004399, allocations: 92.08 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.004414, allocations: 3.953 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.004439, allocations: 17.72 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.004513, allocations: 310.8 kB / 0.5576 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.195e-05/0.004585, allocations: 39.95 kB / 0.5576 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.159e-05/0.004646, allocations: 27.97 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.004773, allocations: 68.78 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.004774, allocations: 0 / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001577/0.004932, allocations: 109.8 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.004943, allocations: 4 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.004947, allocations: 0 / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.004958, allocations: 0 / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.00503, allocations: 19.97 kB / 0.5578 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.005035, allocations: 0 / 0.5578 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.005072, allocations: 19.98 kB / 0.5578 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.005078, allocations: 3.984 kB / 0.5579 GB, free: 14.84 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.015e-05/0.005128, allocations: 109.8 kB / 0.558 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.005141, allocations: 3.938 kB / 0.558 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.005159, allocations: 8 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.005161, allocations: 4 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.005167, allocations: 3.984 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.005169, allocations: 0 / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.943e-05/0.005268, allocations: 132.7 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-07/0.005269, allocations: 0 / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.005308, allocations: 27.86 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.005309, allocations: 0 / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.005318, allocations: 4 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.005319, allocations: 4 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.005321, allocations: 3.938 kB / 0.5581 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.005502, allocations: 191.4 kB / 0.5583 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.00551, allocations: 7.938 kB / 0.5583 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.005519, allocations: 4 kB / 0.5583 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.76e-05/0.005567, allocations: 11.98 kB / 0.5583 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.005601, allocations: 7.984 kB / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.005603, allocations: 0 / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.771e-05/0.005631, allocations: 87.28 kB / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.005631, allocations: 0 / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001374/0.005768, allocations: 11.94 kB / 0.5584 GB, free: 14.16 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.0003749/0.006143, allocations: 0.7318 MB / 0.5592 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.006317, allocations: 71.86 kB / 0.5592 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006318, allocations: 0 / 0.5592 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.006388, allocations: 39.95 kB / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.006583, allocations: 4.547 kB / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.006905, allocations: 150.5 kB / 0.5594 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.056e-05/0.006945, allocations: 67.28 kB / 0.5595 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.006968, allocations: 4 kB / 0.5595 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.007003, allocations: 12.5 kB / 0.5595 GB, free: 13 MB / 0.5261 GB Notification: Performance of SimCode: time 3.81e-07/0.007004, allocations: 4 kB / 0.5595 GB, free: 13 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.0216, allocations: 2.319 MB / 0.5618 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/6.951, allocations: 5 kB / 0.5618 GB, free: 10.82 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.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_Controls_OBC_CDL_Reals_Validation_Average.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.504977849312127] Failed to read output from testmodel.py, exit status != 0: 7.030442169867456 7.041993619 7.037216849 Calling exit ...