Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01165/0.01165, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.852/2.852, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 9.688 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3325, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.00282/0.3354, allocations: 1.937 MB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.3375, allocations: 1.232 MB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.3377, allocations: 7.938 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004856/0.3382, allocations: 159.5 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.3386, allocations: 151.5 kB / 1.078 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.3391, allocations: 219.1 kB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.3395, allocations: 378.9 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.3398, allocations: 105.2 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.34, allocations: 147.2 kB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.3402, allocations: 155.3 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.3402, allocations: 8 kB / 1.079 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3404, allocations: 55.97 kB / 1.079 GB, free: 3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3405, allocations: 99.58 kB / 1.079 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.3406, allocations: 164.7 kB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.3411, allocations: 462.5 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3411, allocations: 0 / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3411, allocations: 4 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3411, allocations: 3.938 kB / 1.079 GB, free: 2.273 MB / 0.8262 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.001056/0.3422, allocations: 0.6498 MB / 1.08 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3422, allocations: 12.03 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.3423, allocations: 48.38 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.3429, allocations: 410.2 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.3429, allocations: 8.375 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.343, allocations: 23.92 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.3433, allocations: 165.4 kB / 1.081 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3433, allocations: 0 / 1.081 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.3433, allocations: 8 kB / 1.081 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3434, allocations: 11.94 kB / 1.081 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.3436, allocations: 87.89 kB / 1.081 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.3447, allocations: 0.7971 MB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.345, allocations: 137.4 kB / 1.082 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3452, allocations: 49.7 kB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3452, allocations: 3.984 kB / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.3454, allocations: 133 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.3454, allocations: 0 / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0005083/0.346, allocations: 213.1 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.346, allocations: 110.8 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/0.3467, allocations: 0.5759 MB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.3467, allocations: 33.7 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.3469, allocations: 204.3 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.3469, allocations: 31.69 kB / 1.083 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.347, allocations: 37.7 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3471, allocations: 358.7 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.3473, allocations: 108 kB / 1.083 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.3475, allocations: 169.8 kB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.3478, allocations: 184.8 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3479, allocations: 0 / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005378/0.3484, allocations: 348.9 kB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3484, allocations: 8.094 kB / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3484, allocations: 3.938 kB / 1.084 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3485, allocations: 4 kB / 1.084 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.3486, allocations: 43.92 kB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3487, allocations: 4 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.3489, allocations: 47.88 kB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.3489, allocations: 15.98 kB / 1.084 GB, free: 12.99 MB / 0.8419 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.0002011/0.3491, allocations: 199.5 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.3492, allocations: 39.53 kB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.981e-05/0.3493, allocations: 47.3 kB / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3493, allocations: 0 / 1.084 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.3493, allocations: 4 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3493, allocations: 4 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.3496, allocations: 333.2 kB / 1.085 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3496, allocations: 3.984 kB / 1.085 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.3497, allocations: 11.94 kB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3497, allocations: 0 / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3497, allocations: 4 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3497, allocations: 4 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3497, allocations: 0 / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.3501, allocations: 213.8 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.3502, allocations: 120.6 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.3503, allocations: 7.984 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3504, allocations: 19.98 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.3505, allocations: 23.97 kB / 1.085 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3505, allocations: 11.92 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000399/0.351, allocations: 363.1 kB / 1.085 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.351, allocations: 0 / 1.085 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003071/0.3513, allocations: 67.94 kB / 1.086 GB, free: 11.44 MB / 0.8419 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.001009/0.3523, allocations: 427.6 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.3527, allocations: 199.7 kB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3527, allocations: 8.188 kB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.3528, allocations: 51.98 kB / 1.086 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.3534, allocations: 97.14 kB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000965/0.3544, allocations: 0.7122 MB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.3547, allocations: 0.8031 MB / 1.088 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.3549, allocations: 58.94 kB / 1.088 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.355, allocations: 31.44 kB / 1.088 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.355, allocations: 0 / 1.088 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of Templates: time 0.009892/0.3649, allocations: 4.385 MB / 1.092 GB, free: 4.82 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1)