Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001346/0.001346, allocations: 116.8 kB / 17.17 MB, free: 6 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.001418/0.001418, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7678 GB, free: 9.344 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,fileNamePrefix="Buildings_11_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.002369/0.002369, allocations: 63.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9014/0.9037, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004176/0.9079, allocations: 2.293 MB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002828/0.9108, allocations: 1.424 MB / 1.283 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.911, allocations: 8.094 kB / 1.283 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005645/0.9116, allocations: 175.6 kB / 1.283 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005733/0.9121, allocations: 226.4 kB / 1.283 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.9126, allocations: 178.3 kB / 1.283 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006228/0.9133, allocations: 430.8 kB / 1.284 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.9135, allocations: 78.84 kB / 1.284 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.9138, allocations: 188.7 kB / 1.284 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.9141, allocations: 196.7 kB / 1.284 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.9142, allocations: 24.16 kB / 1.284 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.9144, allocations: 86.89 kB / 1.284 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.9146, allocations: 110.6 kB / 1.284 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.9147, allocations: 167.3 kB / 1.284 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008259/0.9156, allocations: 0.5052 MB / 1.285 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9156, allocations: 1 kB / 1.285 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9156, allocations: 0 / 1.285 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.9156, allocations: 0 / 1.285 GB, free: 8.066 MB / 0.9981 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.001396/0.917, allocations: 0.7357 MB / 1.286 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.917, allocations: 9.531 kB / 1.286 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.609e-05/0.917, allocations: 3.469 kB / 1.286 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.9171, allocations: 50.08 kB / 1.286 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.9172, allocations: 54.23 kB / 1.286 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.9179, allocations: 418.3 kB / 1.286 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.9179, allocations: 15.3 kB / 1.286 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.9179, allocations: 13.73 kB / 1.286 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.9184, allocations: 183.5 kB / 1.286 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.9184, allocations: 0 / 1.286 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.9184, allocations: 10.03 kB / 1.286 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.9184, allocations: 3.594 kB / 1.286 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.9187, allocations: 89.53 kB / 1.286 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.9201, allocations: 0.7917 MB / 1.287 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.9204, allocations: 126.6 kB / 1.287 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.9206, allocations: 55.61 kB / 1.287 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.9206, allocations: 6.672 kB / 1.287 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.9209, allocations: 133.1 kB / 1.287 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.9209, allocations: 0 / 1.287 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0006111/0.9215, allocations: 221.4 kB / 1.288 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.9216, allocations: 110 kB / 1.288 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008/0.9224, allocations: 0.5896 MB / 1.288 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.9224, allocations: 33.53 kB / 1.288 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.9226, allocations: 209 kB / 1.289 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.9226, allocations: 38.27 kB / 1.289 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.9228, allocations: 76.52 kB / 1.289 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.923, allocations: 365.5 kB / 1.289 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.9232, allocations: 102.2 kB / 1.289 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.9235, allocations: 170.2 kB / 1.289 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.9238, allocations: 187.9 kB / 1.289 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9238, allocations: 0 / 1.289 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006469/0.9244, allocations: 352.9 kB / 1.29 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.9245, allocations: 5.094 kB / 1.29 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9245, allocations: 2.203 kB / 1.29 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.9245, allocations: 2.688 kB / 1.29 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.9247, allocations: 54.08 kB / 1.29 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.9247, allocations: 2.594 kB / 1.29 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.925, allocations: 39.53 kB / 1.29 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.925, allocations: 17.92 kB / 1.29 GB, free: 4.609 MB / 0.9981 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.0002357/0.9253, allocations: 198 kB / 1.29 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.9253, allocations: 43.88 kB / 1.29 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.764e-05/0.9254, allocations: 46.36 kB / 1.29 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.9254, allocations: 6.5 kB / 1.29 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.9254, allocations: 0 / 1.29 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.9254, allocations: 5.703 kB / 1.29 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.9259, allocations: 331.2 kB / 1.291 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9259, allocations: 1.031 kB / 1.291 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.9259, allocations: 12.28 kB / 1.291 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.9259, allocations: 1.094 kB / 1.291 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.926, allocations: 8.484 kB / 1.291 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.926, allocations: 3.938 kB / 1.291 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.926, allocations: 1.469 kB / 1.291 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/0.9264, allocations: 214.3 kB / 1.291 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.9265, allocations: 127.1 kB / 1.291 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.9266, allocations: 7.891 kB / 1.291 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.9267, allocations: 13.81 kB / 1.291 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.9268, allocations: 21.14 kB / 1.291 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.9268, allocations: 15.11 kB / 1.291 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004996/0.9273, allocations: 370.3 kB / 1.291 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9273, allocations: 0 / 1.291 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004087/0.9277, allocations: 71.89 kB / 1.291 GB, free: 3.691 MB / 0.9981 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.002251/0.93, allocations: 1.071 MB / 1.292 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005646/0.9305, allocations: 189.1 kB / 1.293 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9305, allocations: 1.094 kB / 1.293 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.9307, allocations: 52.62 kB / 1.293 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.9313, allocations: 105.7 kB / 1.293 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006126/0.9374, allocations: 3.598 MB / 1.296 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.938, allocations: 0.8096 MB / 1.297 GB, free: 80 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002732/0.9382, allocations: 57.08 kB / 1.297 GB, free: 72 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.9385, allocations: 132.8 kB / 1.297 GB, free: 15.97 MB / 1.014 GB Notification: Performance of SimCode: time 1.203e-06/0.9385, allocations: 0 / 1.297 GB, free: 15.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.9726, allocations: 8.66 MB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.05/10.02, allocations: 11.89 kB / 1.306 GB, free: 14.86 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.fmu > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.269731714972295] Failed to read output from testmodel.py, exit status != 0: 10.207509272964671 10.230553429 9.310441754 Calling exit ...