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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.941/1.941, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001127/0.001127, allocations: 177.1 kB / 377.1 MB, free: 1.535 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.526/1.526, allocations: 205.4 MB / 0.6367 GB, free: 8.645 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.0008748/0.0008749, allocations: 83.38 kB / 0.751 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003596, allocations: 15.98 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2832, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8008/1.084, allocations: 144.3 MB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/1.084, allocations: 91.08 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06056/1.145, allocations: 23.02 MB / 1.152 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.605e-06/1.145, allocations: 4 kB / 1.152 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002006/1.145, allocations: 36 kB / 1.152 GB, free: 15.32 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.005086/1.15, allocations: 1.87 MB / 1.154 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.15, allocations: 13.61 kB / 1.154 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009813/1.151, allocations: 203.6 kB / 1.154 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/1.154, allocations: 1.154 MB / 1.155 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.828e-05/1.154, allocations: 114.8 kB / 1.155 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/1.154, allocations: 151.4 kB / 1.155 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/1.157, allocations: 1.398 MB / 1.157 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/1.157, allocations: 0 / 1.157 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.157, allocations: 60 kB / 1.157 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/1.157, allocations: 32 kB / 1.157 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/1.159, allocations: 1.113 MB / 1.158 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006216/1.165, allocations: 4.598 MB / 1.162 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/1.167, allocations: 0.9728 MB / 1.163 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.389e-05/1.167, allocations: 16.61 kB / 1.163 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009905/1.168, allocations: 0.5515 MB / 1.164 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=87): time 2.655e-06/1.168, allocations: 0.8438 kB / 1.164 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87): time 0.002416/1.17, allocations: 1.198 MB / 1.165 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/1.17, allocations: 247.3 kB / 1.165 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/1.172, allocations: 1.084 MB / 1.166 GB, free: 208 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.172, allocations: 57.7 kB / 1.166 GB, free: 144 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006703/1.172, allocations: 0.7588 MB / 1.167 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/1.173, allocations: 276.1 kB / 1.167 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/1.173, allocations: 28 kB / 1.167 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.173, allocations: 357.8 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009242/1.174, allocations: 419.1 kB / 1.168 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/1.175, allocations: 0.75 MB / 1.169 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009634/1.176, allocations: 494.9 kB / 1.169 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.006e-06/1.176, allocations: 4 kB / 1.169 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002619/1.179, allocations: 1.31 MB / 1.171 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.00134/1.18, allocations: 2.89 MB / 1.173 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.18, allocations: 15.95 kB / 1.173 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/1.18, allocations: 12.94 kB / 1.173 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/1.181, allocations: 227.6 kB / 1.174 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/1.181, allocations: 23.92 kB / 1.174 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/1.182, allocations: 230.5 kB / 1.174 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-05/1.182, allocations: 51.98 kB / 1.174 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.182, allocations: 4 kB / 1.174 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001912/1.184, allocations: 1.033 MB / 1.175 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/1.184, allocations: 12.06 kB / 1.175 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.184, allocations: 12 kB / 1.175 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/1.185, allocations: 199.7 kB / 1.175 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/1.185, allocations: 27.09 kB / 1.175 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.186, allocations: 190.8 kB / 1.175 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.186, allocations: 48 kB / 1.175 GB, free: 6.359 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.001027/1.187, allocations: 424.7 kB / 1.176 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/1.188, allocations: 150.1 kB / 1.176 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/1.19, allocations: 0.9597 MB / 1.177 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.19, allocations: 8 kB / 1.177 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.19, allocations: 4 kB / 1.177 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.19, allocations: 5.016 kB / 1.177 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004953/1.195, allocations: 2.598 MB / 1.18 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.195, allocations: 8.516 kB / 1.18 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007197/1.196, allocations: 160 kB / 1.18 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/1.196, allocations: 8 kB / 1.18 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.048e-05/1.196, allocations: 28.84 kB / 1.18 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/1.196, allocations: 4 kB / 1.18 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.196, allocations: 7.938 kB / 1.18 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/1.199, allocations: 1.893 MB / 1.182 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/1.2, allocations: 235.1 kB / 1.182 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/1.2, allocations: 35.95 kB / 1.182 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008436/1.201, allocations: 88.95 kB / 1.182 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/1.201, allocations: 82.98 kB / 1.182 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.787e-05/1.201, allocations: 39.97 kB / 1.182 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001675/1.203, allocations: 0.8141 MB / 1.183 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.256e-06/1.203, allocations: 0 / 1.183 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001975/1.205, allocations: 494.4 kB / 1.183 GB, free: 14.1 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.0003443/1.205, allocations: 170.6 kB / 1.183 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003703/1.209, allocations: 1.647 MB / 1.185 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.209, allocations: 4 kB / 1.185 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0009462/1.21, allocations: 440 kB / 1.185 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/1.211, allocations: 253.2 kB / 1.186 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/1.217, allocations: 2.823 MB / 1.188 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.218, allocations: 1.231 MB / 1.19 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001248/1.219, allocations: 211.2 kB / 1.19 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/1.22, allocations: 115.4 kB / 1.19 GB, free: 7.109 MB / 0.7605 GB Notification: Performance of SimCode: time 9.72e-07/1.22, allocations: 0 / 1.19 GB, free: 7.109 MB / 0.7605 GB Notification: Performance of Templates: time 0.02999/1.25, allocations: 13.28 MB / 1.203 GB, free: 9.992 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)