Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001668/0.001668, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002205/0.002205, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.169/3.169, allocations: 0.49 GB / 0.7959 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,fileNamePrefix="Buildings_12_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.001966/0.001966, allocations: 66.89 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3506, allocations: 176.1 MB / 1.327 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003984/0.3546, allocations: 2.272 MB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002547/0.3572, allocations: 1.446 MB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.3574, allocations: 11.88 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.3579, allocations: 175.3 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.3584, allocations: 211.1 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.3588, allocations: 195.5 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005271/0.3593, allocations: 430.8 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.3595, allocations: 65.77 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.3598, allocations: 195.2 kB / 1.332 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.3601, allocations: 191.2 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.3601, allocations: 27.94 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.3603, allocations: 83.95 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.3604, allocations: 107.6 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.3606, allocations: 174.9 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005963/0.3612, allocations: 0.494 MB / 1.333 GB, free: 11.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3612, allocations: 7.984 kB / 1.333 GB, free: 11.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3612, allocations: 0 / 1.333 GB, free: 11.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.3612, allocations: 0 / 1.333 GB, free: 11.91 MB / 1.029 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.001167/0.3624, allocations: 0.6556 MB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3624, allocations: 12.03 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.673e-05/0.3624, allocations: 4.188 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.205e-05/0.3625, allocations: 46.73 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.235e-05/0.3626, allocations: 56.61 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/0.3632, allocations: 368.7 kB / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.3632, allocations: 15.94 kB / 1.334 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.3632, allocations: 16 kB / 1.334 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.3636, allocations: 176.1 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3636, allocations: 4 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.3636, allocations: 4 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3636, allocations: 0 / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.3638, allocations: 91.89 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.365, allocations: 0.7573 MB / 1.335 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.3653, allocations: 125.4 kB / 1.335 GB, free: 9.457 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.3654, allocations: 49.7 kB / 1.335 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.3654, allocations: 4 kB / 1.335 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.3657, allocations: 129.1 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.3657, allocations: 0 / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005425/0.3662, allocations: 221.3 kB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.3663, allocations: 110.8 kB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007338/0.367, allocations: 0.5954 MB / 1.336 GB, free: 8.293 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.3671, allocations: 33.7 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.3672, allocations: 200.4 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.3673, allocations: 39.78 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3674, allocations: 81.56 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3676, allocations: 358.7 kB / 1.337 GB, free: 7.566 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.3678, allocations: 108 kB / 1.337 GB, free: 7.461 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.368, allocations: 173.7 kB / 1.337 GB, free: 7.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.3684, allocations: 194.3 kB / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3684, allocations: 0 / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006067/0.369, allocations: 348 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.369, allocations: 5.562 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.369, allocations: 0 / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.369, allocations: 4 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.3692, allocations: 51.91 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3692, allocations: 4.094 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.3694, allocations: 40.36 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.3695, allocations: 12 kB / 1.337 GB, free: 6.609 MB / 1.029 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.0002193/0.3697, allocations: 196 kB / 1.338 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.3698, allocations: 47.7 kB / 1.338 GB, free: 6.363 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.3702, allocations: 201 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3702, allocations: 4 kB / 1.338 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3702, allocations: 4 kB / 1.338 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3702, allocations: 4.031 kB / 1.338 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.3705, allocations: 308.4 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3705, allocations: 4 kB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.3706, allocations: 11.94 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3706, allocations: 4 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3706, allocations: 3.984 kB / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3706, allocations: 0 / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3706, allocations: 4 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.371, allocations: 213.6 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-05/0.3711, allocations: 43.72 kB / 1.338 GB, free: 5.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.3711, allocations: 7.984 kB / 1.338 GB, free: 5.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.3712, allocations: 19.98 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.3713, allocations: 19.97 kB / 1.339 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3713, allocations: 11.98 kB / 1.339 GB, free: 5.441 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004276/0.3718, allocations: 371 kB / 1.339 GB, free: 5.078 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3718, allocations: 0 / 1.339 GB, free: 5.078 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003305/0.3721, allocations: 71.89 kB / 1.339 GB, free: 5.008 MB / 1.029 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 (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.00213/0.3742, allocations: 1.075 MB / 1.34 GB, free: 4.066 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.3747, allocations: 187.7 kB / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3747, allocations: 0 / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.3748, allocations: 47.98 kB / 1.34 GB, free: 3.836 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.3754, allocations: 96.94 kB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.3801, allocations: 3.603 MB / 1.344 GB, free: 28 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.3805, allocations: 0.8184 MB / 1.345 GB, free: 15.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.3807, allocations: 63.17 kB / 1.345 GB, free: 15.12 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.3809, allocations: 123.4 kB / 1.345 GB, free: 15 MB / 1.045 GB Notification: Performance of SimCode: time 7.32e-07/0.3809, allocations: 4 kB / 1.345 GB, free: 15 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05749/0.4384, allocations: 8.718 MB / 1.353 GB, free: 6.414 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.45, allocations: 7.109 kB / 1.353 GB, free: 6.41 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.fmu > Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.310116780980024] Failed to read output from testmodel.py, exit status != 0: 12.67283201799728 12.70064923 12.334536335 Calling exit ...