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.001334/0.001334, allocations: 97.92 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.00153/0.00153, allocations: 223.9 kB / 23.03 MB, free: 4.945 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.515/1.515, 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 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.104/3.104, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] 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.001968/0.001968, allocations: 71.92 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3416, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004642/0.3462, allocations: 2.155 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003029/0.3493, allocations: 1.368 MB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003536/0.3496, allocations: 7.938 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.3503, allocations: 175.3 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007954/0.3511, allocations: 219.1 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.3517, allocations: 191.5 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007924/0.3525, allocations: 434.7 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.3527, allocations: 65.78 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.3532, allocations: 183.3 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.3535, allocations: 203.2 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.004e-05/0.3536, allocations: 28 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.3539, allocations: 79.92 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.354, allocations: 119.6 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.3542, allocations: 127.1 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007395/0.355, allocations: 0.5018 MB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.355, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.355, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.355, allocations: 0 / 1.332 GB, free: 11.66 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.0015/0.3565, allocations: 0.6634 MB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.3565, allocations: 12.03 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.974e-05/0.3566, allocations: 192 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.399e-05/0.3566, allocations: 46.73 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.3568, allocations: 52.61 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007462/0.3575, allocations: 356.7 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.3575, allocations: 15.94 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.3576, allocations: 12 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.358, allocations: 217.7 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.358, allocations: 4 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.3581, allocations: 4 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3581, allocations: 4 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.3583, allocations: 95.88 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.3596, allocations: 0.7106 MB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.36, allocations: 145.4 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.3601, allocations: 53.69 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.3601, allocations: 3.938 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.3604, allocations: 125 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.3604, allocations: 0 / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006063/0.361, allocations: 229.3 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.3611, allocations: 110.8 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008118/0.3619, allocations: 0.611 MB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.3619, allocations: 33.7 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.3621, allocations: 200.5 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.3622, allocations: 39.73 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.3623, allocations: 77.62 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3625, allocations: 358.7 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.3627, allocations: 108.1 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.363, allocations: 250.8 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.3634, allocations: 202.1 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3634, allocations: 0 / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006613/0.364, allocations: 355.7 kB / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3641, allocations: 4 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3641, allocations: 4 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3641, allocations: 3.938 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.3643, allocations: 52.06 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.3643, allocations: 7.938 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.3646, allocations: 35.86 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.3646, allocations: 12 kB / 1.337 GB, free: 6.211 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.0002338/0.3648, allocations: 200 kB / 1.338 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.3649, allocations: 43.75 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.3654, allocations: 209 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3654, allocations: 8 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3654, allocations: 0 / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.3654, allocations: 3.984 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.3657, allocations: 292.4 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3657, allocations: 0.5 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/0.3658, allocations: 11.98 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3658, allocations: 3.938 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.3658, allocations: 8 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3658, allocations: 0 / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3658, allocations: 0 / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.3662, allocations: 247.6 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/0.3663, allocations: 43.75 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/0.3664, allocations: 8 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3665, allocations: 11.98 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.3666, allocations: 27.95 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3666, allocations: 8 kB / 1.338 GB, free: 5.027 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000465/0.3671, allocations: 375 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3671, allocations: 0 / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003578/0.3674, allocations: 75.88 kB / 1.339 GB, free: 4.586 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 (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.002375/0.3698, allocations: 1.109 MB / 1.34 GB, free: 3.633 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004872/0.3703, allocations: 195.8 kB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3703, allocations: 4 kB / 1.34 GB, free: 3.438 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.3705, allocations: 55.97 kB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.371, allocations: 109.9 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.3762, allocations: 3.638 MB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3764, allocations: 208.5 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001821/0.3766, allocations: 58.92 kB / 1.344 GB, free: 15.25 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.3769, allocations: 135.4 kB / 1.344 GB, free: 15.12 MB / 1.045 GB Notification: Performance of SimCode: time 6.81e-07/0.3769, allocations: 4 kB / 1.344 GB, free: 15.11 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.4113, allocations: 9.212 MB / 1.353 GB, free: 6.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.44, allocations: 6.297 kB / 1.353 GB, free: 6.066 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.181383194983937] Failed to read output from testmodel.py, exit status != 0: 12.659216388012283 12.682624393 12.324117699 Calling exit ...