Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.001813/0.001813, allocations: 124.9 kB / 17.17 MB, free: 5.918 MB / 14.72 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.002191/0.002191, allocations: 210.3 kB / 20.13 MB, free: 2.98 MB / 14.72 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.521/1.521, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.938/2.938, allocations: 0.5003 GB / 0.8026 GB, free: 6.785 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 70.08 kB / 1.165 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9953/0.9974, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003582/1.001, allocations: 2.266 MB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002357/1.003, allocations: 1.428 MB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/1.004, allocations: 13.28 kB / 1.344 GB, free: 13.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005114/1.004, allocations: 169.2 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005561/1.005, allocations: 232 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/1.005, allocations: 177.2 kB / 1.344 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005763/1.006, allocations: 434.3 kB / 1.345 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/1.006, allocations: 66.11 kB / 1.345 GB, free: 13.19 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/1.006, allocations: 196.6 kB / 1.345 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/1.006, allocations: 190.9 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/1.007, allocations: 24.28 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/1.007, allocations: 82.45 kB / 1.345 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/1.007, allocations: 119.8 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001436/1.007, allocations: 166.3 kB / 1.346 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006522/1.008, allocations: 0.4935 MB / 1.346 GB, free: 12.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.008, allocations: 0 / 1.346 GB, free: 12.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/1.008, allocations: 1.375 kB / 1.346 GB, free: 12.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.564e-05/1.008, allocations: 3.938 kB / 1.346 GB, free: 12.63 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001093/1.009, allocations: 0.7457 MB / 1.347 GB, free: 12.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.009, allocations: 9.625 kB / 1.347 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.598e-05/1.009, allocations: 2.938 kB / 1.347 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/1.009, allocations: 43.67 kB / 1.347 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.437e-05/1.009, allocations: 46.03 kB / 1.347 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/1.01, allocations: 426.1 kB / 1.347 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/1.01, allocations: 19.66 kB / 1.347 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/1.01, allocations: 12.94 kB / 1.347 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/1.01, allocations: 174 kB / 1.347 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.01, allocations: 3.984 kB / 1.347 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/1.01, allocations: 5.438 kB / 1.347 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/1.01, allocations: 4.875 kB / 1.347 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/1.01, allocations: 92.8 kB / 1.348 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/1.011, allocations: 0.7885 MB / 1.348 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/1.012, allocations: 134.1 kB / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/1.012, allocations: 47.25 kB / 1.348 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/1.012, allocations: 6.078 kB / 1.348 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/1.012, allocations: 129.5 kB / 1.349 GB, free: 10.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/1.012, allocations: 0 / 1.349 GB, free: 10.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0005672/1.013, allocations: 224.6 kB / 1.349 GB, free: 10.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/1.013, allocations: 104.8 kB / 1.349 GB, free: 10.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007965/1.013, allocations: 0.5996 MB / 1.35 GB, free: 10.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/1.013, allocations: 32.94 kB / 1.35 GB, free: 10.17 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/1.014, allocations: 204.5 kB / 1.35 GB, free: 10 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/1.014, allocations: 38.83 kB / 1.35 GB, free: 9.977 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/1.014, allocations: 76.61 kB / 1.35 GB, free: 9.934 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/1.014, allocations: 356.7 kB / 1.35 GB, free: 9.602 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/1.014, allocations: 107.8 kB / 1.35 GB, free: 9.566 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/1.014, allocations: 174.6 kB / 1.35 GB, free: 9.461 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/1.015, allocations: 189.6 kB / 1.351 GB, free: 9.359 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.015, allocations: 4 kB / 1.351 GB, free: 9.355 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005768/1.015, allocations: 348 kB / 1.351 GB, free: 9.211 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.015, allocations: 6.219 kB / 1.351 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.015, allocations: 1.125 kB / 1.351 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/1.015, allocations: 2.094 kB / 1.351 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/1.015, allocations: 47.17 kB / 1.351 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.015, allocations: 2.312 kB / 1.351 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/1.016, allocations: 50.44 kB / 1.351 GB, free: 9.184 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/1.016, allocations: 10.75 kB / 1.351 GB, free: 9.184 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0002028/1.016, allocations: 196.6 kB / 1.351 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/1.016, allocations: 42.81 kB / 1.351 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.757e-05/1.016, allocations: 41.59 kB / 1.351 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.016, allocations: 2.781 kB / 1.351 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.016, allocations: 1.125 kB / 1.351 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.016, allocations: 0.7031 kB / 1.351 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/1.016, allocations: 346.9 kB / 1.352 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.016, allocations: 9.875 kB / 1.352 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/1.017, allocations: 7.625 kB / 1.352 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.017, allocations: 1.031 kB / 1.352 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/1.017, allocations: 3.797 kB / 1.352 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.017, allocations: 1.25 kB / 1.352 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.017, allocations: 0.75 kB / 1.352 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/1.017, allocations: 230.2 kB / 1.352 GB, free: 8.566 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.217e-05/1.017, allocations: 123.6 kB / 1.352 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/1.017, allocations: 8.25 kB / 1.352 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/1.017, allocations: 18.52 kB / 1.352 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/1.017, allocations: 20.42 kB / 1.352 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/1.017, allocations: 7 kB / 1.352 GB, free: 8.434 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004701/1.018, allocations: 374.7 kB / 1.352 GB, free: 8.266 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.018, allocations: 4 kB / 1.352 GB, free: 8.262 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003522/1.018, allocations: 67.78 kB / 1.353 GB, free: 8.25 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (TTanTop.tab.nextTimeEventScaled,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002096/1.02, allocations: 1.056 MB / 1.354 GB, free: 7.488 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006106/1.021, allocations: 185.9 kB / 1.354 GB, free: 7.434 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.021, allocations: 0 / 1.354 GB, free: 7.434 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/1.021, allocations: 56.14 kB / 1.354 GB, free: 7.414 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/1.022, allocations: 104.7 kB / 1.354 GB, free: 7.383 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004812/1.026, allocations: 3.607 MB / 1.357 GB, free: 5.344 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/1.027, allocations: 0.8102 MB / 1.358 GB, free: 4.637 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002155/1.027, allocations: 60.69 kB / 1.358 GB, free: 4.621 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/1.027, allocations: 128.8 kB / 1.358 GB, free: 4.531 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/1.027, allocations: 0 / 1.358 GB, free: 4.531 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/1.058, allocations: 8.55 MB / 1.367 GB, free: 3.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.549/10.61, allocations: 15.5 kB / 1.367 GB, free: 3.43 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.fmu > Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.109636521025095] Failed to read output from testmodel.py, exit status != 0: 10.79231303196866 10.815681816 9.803972233 Calling exit ...