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.0008089/0.0008089, allocations: 97.33 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.005435/0.005435, allocations: 169.5 kB / 16.26 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 12.06 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3391, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002698/0.3418, allocations: 1.933 MB / 1.076 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3439, allocations: 1.24 MB / 1.077 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.344, allocations: 7.938 kB / 1.077 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.3445, allocations: 155.5 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.3448, allocations: 151.4 kB / 1.078 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.3453, allocations: 218.9 kB / 1.078 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.3458, allocations: 386.8 kB / 1.078 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.346, allocations: 93.27 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.3462, allocations: 147.3 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.3464, allocations: 159.3 kB / 1.079 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.3465, allocations: 4 kB / 1.079 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.3466, allocations: 59.97 kB / 1.079 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3468, allocations: 95.59 kB / 1.079 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.3469, allocations: 168.7 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004681/0.3474, allocations: 454.5 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3474, allocations: 4 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3474, allocations: 0 / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.3474, allocations: 0 / 1.079 GB, free: 2.32 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.001042/0.3485, allocations: 0.6576 MB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3485, allocations: 8.031 kB / 1.08 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.083e-05/0.3486, allocations: 48.38 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.3492, allocations: 414.2 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.3492, allocations: 12.31 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.3493, allocations: 19.94 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.3496, allocations: 165.4 kB / 1.081 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3496, allocations: 3.938 kB / 1.081 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.3497, allocations: 15.97 kB / 1.081 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3497, allocations: 4 kB / 1.081 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.3499, allocations: 91.89 kB / 1.081 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.351, allocations: 0.7971 MB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.3514, allocations: 133.4 kB / 1.082 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3515, allocations: 53.69 kB / 1.082 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3515, allocations: 0 / 1.082 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.3518, allocations: 132.9 kB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.3518, allocations: 0 / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0005221/0.3523, allocations: 213.5 kB / 1.082 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.3524, allocations: 114.8 kB / 1.082 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/0.3531, allocations: 0.572 MB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.3531, allocations: 33.7 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.3533, allocations: 204.3 kB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.3534, allocations: 31.7 kB / 1.083 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.3534, allocations: 41.69 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3536, allocations: 354.7 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.3538, allocations: 108 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.354, allocations: 161.8 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003221/0.3544, allocations: 194.9 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3544, allocations: 0 / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000575/0.355, allocations: 342.5 kB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.355, allocations: 8 kB / 1.084 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.355, allocations: 4.094 kB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.355, allocations: 4.062 kB / 1.084 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.3552, allocations: 47.92 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3553, allocations: 4.094 kB / 1.084 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.3555, allocations: 51.75 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.3556, allocations: 16 kB / 1.084 GB, free: 13.02 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.000216/0.3558, allocations: 195.4 kB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.3558, allocations: 39.53 kB / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.871e-05/0.3559, allocations: 43.36 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3559, allocations: 0 / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3559, allocations: 0 / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3559, allocations: 4 kB / 1.084 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.3563, allocations: 341.2 kB / 1.085 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3563, allocations: 7.875 kB / 1.085 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/0.3563, allocations: 8 kB / 1.085 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3563, allocations: 4 kB / 1.085 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3564, allocations: 3.984 kB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3564, allocations: 4 kB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3564, allocations: 0 / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.3567, allocations: 209.4 kB / 1.085 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.3568, allocations: 124.7 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.3569, allocations: 11.92 kB / 1.085 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.357, allocations: 23.92 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.3571, allocations: 19.97 kB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.3571, allocations: 7.984 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003965/0.3575, allocations: 359.1 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3576, allocations: 0 / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003326/0.3579, allocations: 75.92 kB / 1.086 GB, free: 11.46 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.001033/0.3589, allocations: 411.6 kB / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004333/0.3594, allocations: 198.2 kB / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3594, allocations: 0 / 1.086 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3595, allocations: 64.09 kB / 1.086 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.3601, allocations: 100.8 kB / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.3612, allocations: 0.7017 MB / 1.087 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3616, allocations: 0.8071 MB / 1.088 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.3618, allocations: 63.17 kB / 1.088 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-05/0.3619, allocations: 35.42 kB / 1.088 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.3619, allocations: 0 / 1.088 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of Templates: time 0.009185/0.3711, allocations: 4.387 MB / 1.092 GB, free: 4.855 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)