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.002054/0.002054, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002031/0.002031, allocations: 215.2 kB / 23.03 MB, free: 4.922 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.82 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 3.202/3.202, allocations: 0.5003 GB / 0.8062 GB, free: 28.24 MB / 0.6231 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.001959/0.001959, allocations: 66.31 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3539, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004178/0.3581, allocations: 2.173 MB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002698/0.3608, allocations: 1.337 MB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.361, allocations: 7.938 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005374/0.3616, allocations: 175.3 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006023/0.3622, allocations: 219.1 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.3627, allocations: 195.5 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005781/0.3633, allocations: 430.8 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.3635, allocations: 77.5 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.3638, allocations: 175.3 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003694/0.3641, allocations: 199.2 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.493e-05/0.3642, allocations: 24 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.3645, allocations: 83.91 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.3646, allocations: 115.6 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.3648, allocations: 131.1 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006588/0.3654, allocations: 0.5018 MB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3655, allocations: 0 / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3655, allocations: 0 / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.3655, allocations: 0 / 1.351 GB, free: 10.09 MB / 1.045 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.001223/0.3667, allocations: 0.6712 MB / 1.352 GB, free: 9.383 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3667, allocations: 8.031 kB / 1.352 GB, free: 9.375 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.72e-05/0.3667, allocations: 4.188 kB / 1.352 GB, free: 9.371 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.3668, allocations: 50.67 kB / 1.352 GB, free: 9.312 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/0.3669, allocations: 52.66 kB / 1.352 GB, free: 9.262 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.3675, allocations: 352.7 kB / 1.352 GB, free: 8.895 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3676, allocations: 15.94 kB / 1.352 GB, free: 8.879 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.3676, allocations: 15.98 kB / 1.352 GB, free: 8.863 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003868/0.368, allocations: 213.7 kB / 1.352 GB, free: 8.633 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.368, allocations: 0 / 1.352 GB, free: 8.633 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.368, allocations: 4 kB / 1.352 GB, free: 8.629 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.368, allocations: 4 kB / 1.352 GB, free: 8.625 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.3683, allocations: 99.88 kB / 1.352 GB, free: 8.527 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3694, allocations: 0.7223 MB / 1.353 GB, free: 7.754 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.3698, allocations: 133.4 kB / 1.353 GB, free: 7.605 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.3699, allocations: 53.7 kB / 1.353 GB, free: 7.547 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.3699, allocations: 3.938 kB / 1.353 GB, free: 7.543 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.3701, allocations: 133 kB / 1.353 GB, free: 7.395 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.3701, allocations: 0 / 1.353 GB, free: 7.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0005834/0.3707, allocations: 233.3 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.3708, allocations: 106.8 kB / 1.354 GB, free: 7.031 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007544/0.3716, allocations: 0.6033 MB / 1.354 GB, free: 6.422 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.3716, allocations: 29.7 kB / 1.354 GB, free: 6.387 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.3718, allocations: 204.5 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3718, allocations: 39.72 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.372, allocations: 73.64 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3721, allocations: 366.7 kB / 1.355 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.3724, allocations: 108.5 kB / 1.355 GB, free: 5.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.3726, allocations: 251 kB / 1.355 GB, free: 5.305 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.373, allocations: 202.7 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.373, allocations: 0 / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000611/0.3736, allocations: 359.6 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3736, allocations: 7.938 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3736, allocations: 0 / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3736, allocations: 4 kB / 1.356 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.3739, allocations: 47.97 kB / 1.356 GB, free: 4.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3739, allocations: 7.938 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.3741, allocations: 35.86 kB / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.3741, allocations: 12 kB / 1.356 GB, free: 4.625 MB / 1.045 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.0002198/0.3743, allocations: 203.5 kB / 1.356 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.3744, allocations: 43.72 kB / 1.356 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.3749, allocations: 213 kB / 1.356 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.3749, allocations: 4 kB / 1.356 GB, free: 4.145 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3749, allocations: 3.938 kB / 1.356 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3749, allocations: 0 / 1.356 GB, free: 4.141 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.3752, allocations: 288.4 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3752, allocations: 4 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.3753, allocations: 12.05 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3753, allocations: 7.984 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.3753, allocations: 7.984 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3753, allocations: 0 / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3753, allocations: 0 / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.3757, allocations: 237.5 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/0.3758, allocations: 47.7 kB / 1.357 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.3758, allocations: 8 kB / 1.357 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.3759, allocations: 11.98 kB / 1.357 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.376, allocations: 23.95 kB / 1.357 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.376, allocations: 12 kB / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004377/0.3765, allocations: 379 kB / 1.357 GB, free: 3.062 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3765, allocations: 0 / 1.357 GB, free: 3.062 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003341/0.3768, allocations: 67.92 kB / 1.357 GB, free: 2.996 MB / 1.045 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 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * 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.002262/0.3791, allocations: 1.112 MB / 1.359 GB, free: 2.043 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004944/0.3796, allocations: 203.9 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3796, allocations: 0 / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.3797, allocations: 59.97 kB / 1.359 GB, free: 1.785 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.3803, allocations: 99.42 kB / 1.359 GB, free: 1.699 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004899/0.3852, allocations: 3.642 MB / 1.362 GB, free: 13.94 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.3854, allocations: 204.6 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.3856, allocations: 66.92 kB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.3858, allocations: 131.4 kB / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.3858, allocations: 0 / 1.363 GB, free: 13.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03357/0.4193, allocations: 9.201 MB / 1.372 GB, free: 4.465 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.38, allocations: 5.781 kB / 1.372 GB, free: 4.461 MB / 1.061 GB " [Timeout remaining time 287] (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: 19.19196822401136] Failed to read output from testmodel.py, exit status != 0: 12.594164920039475 12.611618545 12.24128782 Calling exit ...