Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 293 MB / 309 MB, free: 4.758 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 183.8 kB / 378.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 0.6383 GB, free: 8.141 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007703/0.0007702, allocations: 95.44 kB / 0.7527 GB, free: 62.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003888, allocations: 12 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2182, allocations: 116.4 MB / 0.9904 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6373/0.8555, allocations: 144.4 MB / 1.131 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.8557, allocations: 87.59 kB / 1.132 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05698/0.9127, allocations: 23.08 MB / 1.154 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9128, allocations: 0 / 1.154 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000182/0.913, allocations: 36 kB / 1.154 GB, free: 14.11 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.004481/0.9175, allocations: 1.848 MB / 1.156 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.9175, allocations: 12.03 kB / 1.156 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007702/0.9183, allocations: 206.5 kB / 1.156 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.9208, allocations: 1.187 MB / 1.157 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.9209, allocations: 115.1 kB / 1.157 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003479/0.9213, allocations: 144.4 kB / 1.158 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002908/0.9242, allocations: 1.414 MB / 1.159 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.9242, allocations: 7.938 kB / 1.159 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.9244, allocations: 67.92 kB / 1.159 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.9244, allocations: 33.31 kB / 1.159 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.9265, allocations: 1.109 MB / 1.16 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009198/0.9357, allocations: 4.602 MB / 1.165 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.9377, allocations: 0.9421 MB / 1.166 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008131/0.9385, allocations: 440.5 kB / 1.166 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.315e-05/0.9386, allocations: 19.92 kB / 1.166 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.9397, allocations: 0.5565 MB / 1.166 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=87): time 4.479e-06/0.9397, allocations: 0 / 1.166 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87): time 0.002664/0.9424, allocations: 1.2 MB / 1.168 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.9426, allocations: 247.2 kB / 1.168 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.9452, allocations: 1.244 MB / 1.169 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000217/0.9454, allocations: 66.64 kB / 1.169 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009221/0.9464, allocations: 0.7549 MB / 1.17 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.9467, allocations: 276.2 kB / 1.17 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.9468, allocations: 24 kB / 1.17 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.947, allocations: 349.9 kB / 1.171 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009914/0.948, allocations: 414.4 kB / 1.171 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.9493, allocations: 0.7755 MB / 1.172 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.9512, allocations: 1.006 MB / 1.173 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.9512, allocations: 4 kB / 1.173 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002847/0.954, allocations: 1.319 MB / 1.174 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.9544, allocations: 336.2 kB / 1.174 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.9544, allocations: 8.547 kB / 1.174 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/0.9544, allocations: 12 kB / 1.174 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008689/0.9553, allocations: 231.6 kB / 1.175 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.195e-05/0.9553, allocations: 23.92 kB / 1.175 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.9565, allocations: 230.5 kB / 1.175 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.9567, allocations: 47.98 kB / 1.175 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.9567, allocations: 6.656 kB / 1.175 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001933/0.9586, allocations: 1.035 MB / 1.176 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.9587, allocations: 8 kB / 1.176 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.9587, allocations: 12 kB / 1.176 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007069/0.9594, allocations: 207.6 kB / 1.176 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/0.9594, allocations: 20.77 kB / 1.176 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.9606, allocations: 191.5 kB / 1.176 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.9607, allocations: 44 kB / 1.176 GB, free: 6.617 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,$whenCondition2,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,$whenCondition1,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001051/0.9617, allocations: 428.6 kB / 1.177 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/0.9621, allocations: 150.1 kB / 1.177 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.9645, allocations: 0.9543 MB / 1.178 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.9645, allocations: 8 kB / 1.178 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.9645, allocations: 11.31 kB / 1.178 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.9645, allocations: 14.92 kB / 1.178 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004925/0.9695, allocations: 2.593 MB / 1.18 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.9695, allocations: 4 kB / 1.18 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/0.9702, allocations: 156 kB / 1.18 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-05/0.9702, allocations: 11.94 kB / 1.181 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.524e-05/0.9704, allocations: 23.98 kB / 1.181 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.565e-05/0.9704, allocations: 11.92 kB / 1.181 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.9704, allocations: 4 kB / 1.181 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.9737, allocations: 1.734 MB / 1.182 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.9742, allocations: 239 kB / 1.182 GB, free: 124 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/0.9745, allocations: 32 kB / 1.182 GB, free: 92 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008294/0.9753, allocations: 83.92 kB / 1.183 GB, free: 8 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.9756, allocations: 95.78 kB / 1.183 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/0.9757, allocations: 31.98 kB / 1.183 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00168/0.9773, allocations: 0.8218 MB / 1.183 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9774, allocations: 0 / 1.183 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002098/0.9795, allocations: 482.6 kB / 1.184 GB, free: 14.59 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (cooVal2.limPI.I.y,cooVal1.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal2.limPI.trigger,$whenCondition1,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal1.limPI.trigger,$whenCondition2,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003091/0.9798, allocations: 160.9 kB / 1.184 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003441/0.9832, allocations: 1.652 MB / 1.186 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.9833, allocations: 0 / 1.186 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000933/0.9842, allocations: 436.3 kB / 1.186 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.9865, allocations: 265.3 kB / 1.186 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.9919, allocations: 2.831 MB / 1.189 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.993, allocations: 1.196 MB / 1.19 GB, free: 7.953 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001314/0.9944, allocations: 220.4 kB / 1.191 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.9948, allocations: 107.4 kB / 1.191 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of SimCode: time 1.002e-06/0.9948, allocations: 0 / 1.191 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of Templates: time 0.03015/1.025, allocations: 13.5 MB / 1.204 GB, free: 10.31 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)