Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.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.001297/0.001297, 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.001652/0.001652, allocations: 174.3 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 1.005/1.005, 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.5833/0.5833, allocations: 114 MB / 373.9 MB, free: 8.723 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.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.547e-06/3.547e-06, allocations: 0 / 0.5542 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.538e-05/3.892e-05, allocations: 3.828 kB / 0.5543 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Max): time 0.001691/0.00173, allocations: 0.6893 MB / 0.5549 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008794/0.002609, allocations: 0.8238 MB / 0.5557 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.002648, allocations: 4 kB / 0.5557 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.002679, allocations: 3.938 kB / 0.5557 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.865e-05/0.002758, allocations: 7.875 kB / 0.5557 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.002901, allocations: 15.98 kB / 0.5558 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.312e-05/0.002994, allocations: 43.84 kB / 0.5558 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.003131, allocations: 11.98 kB / 0.5558 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.437e-05/0.003216, allocations: 23.97 kB / 0.5558 GB, free: 1.082 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.00326, allocations: 15.92 kB / 0.5559 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.003285, allocations: 8 kB / 0.5559 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.003294, allocations: 4 kB / 0.5559 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.00331, allocations: 4 kB / 0.5559 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.003332, allocations: 11.98 kB / 0.5559 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.003435, allocations: 47.8 kB / 0.5559 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.003438, allocations: 0 / 0.5559 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.513e-06/0.003439, allocations: 0 / 0.5559 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.003443, allocations: 0 / 0.5559 GB, free: 0.9922 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.0004137/0.003857, allocations: 286.2 kB / 0.5562 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.003906, allocations: 16.62 kB / 0.5562 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.003936, allocations: 30.75 kB / 0.5562 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.00396, allocations: 4.891 kB / 0.5562 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.654e-05/0.004057, allocations: 117.6 kB / 0.5564 GB, free: 492 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.004071, allocations: 16.31 kB / 0.5564 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.004083, allocations: 384 / 0.5564 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.004264, allocations: 66.2 kB / 0.5564 GB, free: 404 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004271, allocations: 4.188 kB / 0.5564 GB, free: 400 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.004282, allocations: 4.375 kB / 0.5564 GB, free: 396 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.004288, allocations: 8.125 kB / 0.5565 GB, free: 388 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.004429, allocations: 63.92 kB / 0.5565 GB, free: 324 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.004766, allocations: 224 kB / 0.5567 GB, free: 56 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.0049, allocations: 54.59 kB / 0.5568 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.004978, allocations: 40.86 kB / 0.5568 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.004999, allocations: 3.938 kB / 0.5568 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.005018, allocations: 34.56 kB / 0.5569 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.005019, allocations: 0 / 0.5569 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003058/0.005325, allocations: 133.5 kB / 0.557 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.005356, allocations: 55.41 kB / 0.557 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.005422, allocations: 109.8 kB / 0.5571 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.005432, allocations: 25.7 kB / 0.5572 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.005466, allocations: 88.09 kB / 0.5572 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.005485, allocations: 7.953 kB / 0.5573 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.005513, allocations: 17.7 kB / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/0.00558, allocations: 314.8 kB / 0.5576 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.005651, allocations: 27.97 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.005717, allocations: 40.14 kB / 0.5576 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.005847, allocations: 68.86 kB / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.00585, allocations: 0 / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001652/0.006015, allocations: 109.5 kB / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.006028, allocations: 8 kB / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.006032, allocations: 0 / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.006045, allocations: 0 / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.006128, allocations: 15.98 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.006134, allocations: 3.984 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.497e-05/0.006169, allocations: 11.98 kB / 0.5578 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.006177, allocations: 4 kB / 0.5579 GB, free: 14.82 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 6.002e-05/0.006237, allocations: 105.8 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.006252, allocations: 11.94 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.00645, allocations: 113.5 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.006452, allocations: 0 / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.006456, allocations: 0 / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006459, allocations: 0 / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.006562, allocations: 136.7 kB / 0.5582 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006563, allocations: 0 / 0.5582 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.006606, allocations: 27.91 kB / 0.5582 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006608, allocations: 3.938 kB / 0.5582 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.006615, allocations: 0 / 0.5582 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.006617, allocations: 4 kB / 0.5582 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006618, allocations: 0 / 0.5582 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.006799, allocations: 195.4 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.006808, allocations: 7.938 kB / 0.5584 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.006818, allocations: 4 kB / 0.5584 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.603e-05/0.006874, allocations: 19.92 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.006913, allocations: 7.922 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.006918, allocations: 4 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.058e-05/0.006949, allocations: 83.59 kB / 0.5585 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006949, allocations: 0 / 0.5585 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001402/0.007089, allocations: 8 kB / 0.5586 GB, free: 14.02 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.0003727/0.007462, allocations: 0.728 MB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.007655, allocations: 67.86 kB / 0.5593 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007656, allocations: 0 / 0.5593 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.007726, allocations: 43.95 kB / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.007967, allocations: 2.875 kB / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.008315, allocations: 146.6 kB / 0.5595 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.43e-05/0.00836, allocations: 71.28 kB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.054e-05/0.00838, allocations: 0 / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.008421, allocations: 16.48 kB / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/0.008421, allocations: 0 / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.02552, allocations: 2.318 MB / 0.5619 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.903/6.928, allocations: 8.047 kB / 0.5619 GB, free: 10.69 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max_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_Max.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.656738685443997] Failed to read output from testmodel.py, exit status != 0: 7.0096147172153 7.017354318 7.012202714 Calling exit ...