Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001262/0.001262, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001471/0.001471, allocations: 193.3 kB / 16.13 MB, free: 6.656 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.141/3.141, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 62.81 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3297, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003644/0.3334, allocations: 2.291 MB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.3354, allocations: 1.259 MB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.3355, allocations: 7.938 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.336, allocations: 167.5 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.3363, allocations: 151.5 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.3368, allocations: 220.6 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.3372, allocations: 378.9 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.3374, allocations: 101.2 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.3376, allocations: 151.3 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.3378, allocations: 167.3 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.3379, allocations: 8 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.338, allocations: 63.97 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3382, allocations: 103.6 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.3383, allocations: 147 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.3388, allocations: 478.6 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3388, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3388, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.3388, allocations: 0 / 1.073 GB, free: 5.277 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.00116/0.34, allocations: 0.7118 MB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.34, allocations: 8.031 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.3401, allocations: 40.47 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.3406, allocations: 414.2 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3407, allocations: 16.38 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.3407, allocations: 15.94 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.3411, allocations: 173.4 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3411, allocations: 3.984 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.3411, allocations: 4 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3411, allocations: 7.984 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.3413, allocations: 99.83 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.3425, allocations: 0.7777 MB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.3428, allocations: 129.4 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.343, allocations: 61.69 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.343, allocations: 0 / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.3432, allocations: 125 kB / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.3432, allocations: 0 / 1.076 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005428/0.3438, allocations: 225 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.3439, allocations: 106.8 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/0.3445, allocations: 0.5798 MB / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.3445, allocations: 29.7 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.3447, allocations: 196.4 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.3447, allocations: 35.59 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.3449, allocations: 73.67 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.345, allocations: 366.7 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.3452, allocations: 104 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.3455, allocations: 165.8 kB / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.3458, allocations: 190.3 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.3458, allocations: 3.984 kB / 1.078 GB, free: 384 kB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005693/0.3464, allocations: 339 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3464, allocations: 4 kB / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3464, allocations: 4 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3464, allocations: 0 / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.3466, allocations: 60.02 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3467, allocations: 4.047 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.3469, allocations: 43.75 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.3469, allocations: 15.97 kB / 1.078 GB, free: 15.91 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.0001906/0.3471, allocations: 195.4 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.3472, allocations: 35.53 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.706e-05/0.3473, allocations: 47.36 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3473, allocations: 4 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3473, allocations: 0 / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3473, allocations: 0 / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.3476, allocations: 337.3 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3476, allocations: 0 / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.3476, allocations: 12 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3477, allocations: 0 / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3477, allocations: 4 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3477, allocations: 0 / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.958e-06/0.3477, allocations: 3.984 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.348, allocations: 213.3 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.393e-05/0.3482, allocations: 120.6 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.3482, allocations: 11.94 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.3483, allocations: 16.02 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.3484, allocations: 23.95 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.3484, allocations: 12 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003949/0.3488, allocations: 363.1 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3489, allocations: 0 / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003242/0.3492, allocations: 67.94 kB / 1.079 GB, free: 14.37 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.001022/0.3502, allocations: 425.8 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004503/0.3507, allocations: 202.1 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3507, allocations: 0 / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3508, allocations: 55.92 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.3514, allocations: 87.11 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3524, allocations: 0.703 MB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.3528, allocations: 0.807 MB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.353, allocations: 63.17 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3531, allocations: 35.42 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3531, allocations: 0 / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of Templates: time 0.008806/0.3619, allocations: 4.447 MB / 1.086 GB, free: 7.699 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile (rm -f Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1)