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.0007916/0.0007916, allocations: 76.55 kB / 19.93 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.0008008/0.0008008, allocations: 177.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.8648/0.8648, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5637/0.5637, 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.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.595e-06/2.595e-06, allocations: 0 / 0.5542 GB, free: 1.641 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.508e-05, allocations: 6.219 kB / 0.5543 GB, free: 1.633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Average): time 0.002357/0.002382, allocations: 0.6879 MB / 0.5549 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.000811/0.003193, allocations: 0.8237 MB / 0.5557 GB, free: 116 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.003229, allocations: 4 kB / 0.5557 GB, free: 112 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.003256, allocations: 0 / 0.5557 GB, free: 112 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.737e-05/0.003323, allocations: 11.86 kB / 0.5557 GB, free: 100 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.92e-05/0.003392, allocations: 15.98 kB / 0.5558 GB, free: 84 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.986e-05/0.003472, allocations: 39.86 kB / 0.5558 GB, free: 44 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.003584, allocations: 15.97 kB / 0.5558 GB, free: 28 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.00366, allocations: 19.98 kB / 0.5558 GB, free: 8 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.003711, allocations: 12.06 kB / 0.5558 GB, free: 15.99 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.003733, allocations: 4 kB / 0.5558 GB, free: 15.99 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-06/0.00374, allocations: 4 kB / 0.5559 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.003756, allocations: 15.92 kB / 0.5559 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.00378, allocations: 8 kB / 0.5559 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.991e-05/0.00387, allocations: 51.7 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.003874, allocations: 3.938 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.003876, allocations: 0 / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.00388, allocations: 0 / 0.5559 GB, free: 15.91 MB / 490.7 MB 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.0003848/0.004265, allocations: 286.3 kB / 0.5562 GB, free: 15.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.004309, allocations: 8.625 kB / 0.5562 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.004349, allocations: 34.73 kB / 0.5562 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.004374, allocations: 12.89 kB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.129e-05/0.004456, allocations: 105.8 kB / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.004466, allocations: 384 / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.004474, allocations: 384 / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.00464, allocations: 70.22 kB / 0.5564 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.004646, allocations: 4.125 kB / 0.5564 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.004655, allocations: 384 / 0.5564 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.004661, allocations: 8.109 kB / 0.5564 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.004801, allocations: 71.86 kB / 0.5565 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.00511, allocations: 240 kB / 0.5567 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.005225, allocations: 46.55 kB / 0.5568 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.005306, allocations: 40.91 kB / 0.5568 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.005317, allocations: 7.938 kB / 0.5568 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.005337, allocations: 30.56 kB / 0.5569 GB, free: 14.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.005338, allocations: 0 / 0.5569 GB, free: 14.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003017/0.00564, allocations: 129.5 kB / 0.557 GB, free: 14.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.005668, allocations: 51.41 kB / 0.557 GB, free: 14.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.00573, allocations: 109.8 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.00574, allocations: 29.7 kB / 0.5572 GB, free: 14.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.005779, allocations: 96.02 kB / 0.5573 GB, free: 14.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.005796, allocations: 7.953 kB / 0.5573 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.005825, allocations: 17.72 kB / 0.5573 GB, free: 14.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.005901, allocations: 310.8 kB / 0.5576 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.005976, allocations: 31.95 kB / 0.5576 GB, free: 14.01 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.006041, allocations: 31.97 kB / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.006172, allocations: 72.72 kB / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006174, allocations: 0 / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001703/0.006345, allocations: 101.5 kB / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.00636, allocations: 8 kB / 0.5578 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.006365, allocations: 4 kB / 0.5578 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.006379, allocations: 0 / 0.5578 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.006466, allocations: 15.97 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.006471, allocations: 4 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.006507, allocations: 7.984 kB / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.006514, allocations: 4 kB / 0.5578 GB, free: 13.75 MB / 490.7 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 5.756e-05/0.006571, allocations: 109.8 kB / 0.5579 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.006585, allocations: 7.938 kB / 0.558 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.006605, allocations: 15.98 kB / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.006608, allocations: 0 / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.006612, allocations: 0 / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006615, allocations: 3.938 kB / 0.558 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.006723, allocations: 132.7 kB / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.006726, allocations: 4 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.006766, allocations: 19.92 kB / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.006767, allocations: 0 / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.006773, allocations: 0 / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.006774, allocations: 0 / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.006776, allocations: 12.25 kB / 0.5581 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.006971, allocations: 195.8 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.00698, allocations: 3.984 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.006993, allocations: 7.984 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-05/0.007041, allocations: 7.984 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.007076, allocations: 7.984 kB / 0.5583 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.007079, allocations: 4 kB / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.279e-05/0.007112, allocations: 91.27 kB / 0.5584 GB, free: 13.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007112, allocations: 3.938 kB / 0.5584 GB, free: 13.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.007263, allocations: 19.86 kB / 0.5585 GB, free: 13.05 MB / 490.7 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.0003846/0.007647, allocations: 0.7202 MB / 0.5592 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.007841, allocations: 71.92 kB / 0.5592 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.007843, allocations: 0 / 0.5592 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.007915, allocations: 39.89 kB / 0.5593 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.008186, allocations: 9.875 kB / 0.5593 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.00858, allocations: 154.4 kB / 0.5594 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.589e-05/0.008626, allocations: 71.28 kB / 0.5595 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.993e-05/0.008656, allocations: 4 kB / 0.5595 GB, free: 11.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.008699, allocations: 20.48 kB / 0.5595 GB, free: 11.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/0.0087, allocations: 0 / 0.5595 GB, free: 11.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.02745, allocations: 2.319 MB / 0.5618 GB, free: 9.711 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/6.828, allocations: 11.27 kB / 0.5618 GB, free: 9.703 MB / 490.7 MB " [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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.163004611618817] Failed to read output from testmodel.py, exit status != 0: 6.914604020304978 6.922023589 6.915942246 Calling exit ...