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.00158/0.00158, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001945/0.001945, allocations: 215.1 kB / 23.02 MB, free: 4.949 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.772/2.772, allocations: 476.8 MB / 0.7715 GB, free: 3.848 MB / 0.6231 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.002006/0.002006, allocations: 66.73 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3058, allocations: 170 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003882/0.3097, allocations: 2.182 MB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002415/0.3121, allocations: 1.353 MB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.3122, allocations: 11.94 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.3127, allocations: 175.3 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000496/0.3132, allocations: 223 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.3136, allocations: 187.6 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.3141, allocations: 426.8 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.3143, allocations: 69.55 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.3145, allocations: 191.2 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.3148, allocations: 195.2 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.3148, allocations: 28 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.315, allocations: 75.92 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.3151, allocations: 123.6 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.3153, allocations: 131.1 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005912/0.3159, allocations: 0.5092 MB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3159, allocations: 0 / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3159, allocations: 0 / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3159, allocations: 0 / 1.29 GB, free: 4.746 MB / 0.9825 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.001309/0.3172, allocations: 0.6634 MB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3172, allocations: 8.031 kB / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.85e-05/0.3173, allocations: 4.188 kB / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/0.3173, allocations: 50.73 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.46e-05/0.3174, allocations: 52.61 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000603/0.318, allocations: 356.7 kB / 1.291 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.318, allocations: 23.92 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.3181, allocations: 16 kB / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.3185, allocations: 207.5 kB / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3185, allocations: 0 / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.3185, allocations: 8 kB / 1.291 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3185, allocations: 4 kB / 1.291 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.3187, allocations: 99.81 kB / 1.291 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.3199, allocations: 0.7145 MB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.3202, allocations: 133.4 kB / 1.292 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.3204, allocations: 53.69 kB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3204, allocations: 0 / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.3206, allocations: 133 kB / 1.292 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.3206, allocations: 0 / 1.292 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0006018/0.3212, allocations: 229.3 kB / 1.292 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/0.3213, allocations: 110.8 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/0.322, allocations: 0.6072 MB / 1.293 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.3221, allocations: 29.7 kB / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.3222, allocations: 204.4 kB / 1.293 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.3223, allocations: 39.73 kB / 1.293 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.3224, allocations: 69.69 kB / 1.293 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3226, allocations: 366.7 kB / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.3228, allocations: 108 kB / 1.294 GB, free: 264 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.3232, allocations: 250.9 kB / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.3235, allocations: 204.5 kB / 1.294 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3235, allocations: 0 / 1.294 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006512/0.3242, allocations: 353.1 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3242, allocations: 6.5 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3242, allocations: 3.938 kB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3242, allocations: 8.094 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.3244, allocations: 51.91 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.3244, allocations: 8.547 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.3247, allocations: 39.8 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.3247, allocations: 16 kB / 1.295 GB, free: 15.28 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.0002148/0.3249, allocations: 195.4 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.325, allocations: 47.7 kB / 1.295 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.3254, allocations: 209.1 kB / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3254, allocations: 7.938 kB / 1.295 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3254, allocations: 0 / 1.295 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3254, allocations: 4.031 kB / 1.295 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.3258, allocations: 292.5 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3258, allocations: 0 / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.953e-05/0.3258, allocations: 11.98 kB / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3258, allocations: 0 / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3258, allocations: 4 kB / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3258, allocations: 0 / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3258, allocations: 0 / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.3262, allocations: 242.6 kB / 1.296 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.3263, allocations: 43.72 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.3264, allocations: 11.98 kB / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.3265, allocations: 11.98 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.3266, allocations: 27.95 kB / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.3266, allocations: 8 kB / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005055/0.3271, allocations: 379 kB / 1.296 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3271, allocations: 0 / 1.296 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003196/0.3275, allocations: 67.89 kB / 1.296 GB, free: 13.68 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 (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.002314/0.3298, allocations: 1.122 MB / 1.297 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.3302, allocations: 195.8 kB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3302, allocations: 0 / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.3304, allocations: 59.91 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.3309, allocations: 102.7 kB / 1.298 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/0.3359, allocations: 3.646 MB / 1.301 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.3361, allocations: 212.5 kB / 1.302 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.3362, allocations: 62.92 kB / 1.302 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.3364, allocations: 135.4 kB / 1.302 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.3364, allocations: 3.938 kB / 1.302 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.3674, allocations: 9.308 MB / 1.311 GB, free: 15.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.25, allocations: 12.92 kB / 1.311 GB, free: 15.03 MB / 1.014 GB " [Timeout remaining time 288] (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: 19.006596936029382] Failed to read output from testmodel.py, exit status != 0: 13.03165751695633 12.480165454 12.161184294 Calling exit ...