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.608/1.608, allocations: 289.7 MB / 302.3 MB, free: 2.141 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.00117/0.00117, allocations: 180.2 kB / 371.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009628/0.0009628, allocations: 96 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.54e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2911, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9631/1.254, allocations: 144.2 MB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.255, allocations: 87.77 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0583/1.313, allocations: 22.97 MB / 1.143 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.385e-06/1.313, allocations: 0 / 1.143 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001023/1.313, allocations: 40 kB / 1.143 GB, free: 29.03 MB / 0.7448 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.003267/1.316, allocations: 1.618 MB / 1.145 GB, free: 27.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.316, allocations: 8.031 kB / 1.145 GB, free: 27.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004594/1.317, allocations: 204.2 kB / 1.145 GB, free: 27.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/1.319, allocations: 1.146 MB / 1.146 GB, free: 26.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/1.319, allocations: 112.9 kB / 1.146 GB, free: 26.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/1.32, allocations: 153.9 kB / 1.146 GB, free: 26.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/1.322, allocations: 1.287 MB / 1.148 GB, free: 25.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/1.322, allocations: 4 kB / 1.148 GB, free: 25.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/1.322, allocations: 59.28 kB / 1.148 GB, free: 25.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/1.322, allocations: 36 kB / 1.148 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/1.324, allocations: 0.9135 MB / 1.149 GB, free: 25.19 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00887/1.333, allocations: 4.593 MB / 1.153 GB, free: 22.67 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/1.334, allocations: 0.7897 MB / 1.154 GB, free: 22.14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/1.335, allocations: 342.8 kB / 1.154 GB, free: 21.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.578e-05/1.335, allocations: 12.75 kB / 1.154 GB, free: 21.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008055/1.336, allocations: 471.3 kB / 1.155 GB, free: 21.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 3.336e-06/1.336, allocations: 0 / 1.155 GB, free: 21.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.001535/1.337, allocations: 0.7115 MB / 1.155 GB, free: 21.15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.337, allocations: 247.2 kB / 1.156 GB, free: 20.85 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/1.339, allocations: 1.078 MB / 1.157 GB, free: 20.13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/1.339, allocations: 60.59 kB / 1.157 GB, free: 20.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/1.34, allocations: 0.756 MB / 1.157 GB, free: 19.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/1.34, allocations: 276.5 kB / 1.158 GB, free: 19.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/1.34, allocations: 21.56 kB / 1.158 GB, free: 19.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.34, allocations: 354.2 kB / 1.158 GB, free: 19.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/1.341, allocations: 318.5 kB / 1.158 GB, free: 19.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000732/1.341, allocations: 0.6624 MB / 1.159 GB, free: 18.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/1.342, allocations: 398.9 kB / 1.159 GB, free: 18.15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.342, allocations: 4.656 kB / 1.159 GB, free: 18.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001823/1.344, allocations: 1.12 MB / 1.16 GB, free: 17.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000922/1.345, allocations: 2.907 MB / 1.163 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.345, allocations: 4 kB / 1.163 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.039e-05/1.345, allocations: 16 kB / 1.163 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009172/1.346, allocations: 239.7 kB / 1.164 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-05/1.346, allocations: 20.73 kB / 1.164 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/1.347, allocations: 226.3 kB / 1.164 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.347, allocations: 56.8 kB / 1.164 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.347, allocations: 5.406 kB / 1.164 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001498/1.349, allocations: 0.9375 MB / 1.165 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.349, allocations: 8 kB / 1.165 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.349, allocations: 16.81 kB / 1.165 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006756/1.349, allocations: 211.3 kB / 1.165 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/1.35, allocations: 13.08 kB / 1.165 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/1.351, allocations: 191.1 kB / 1.165 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.438e-05/1.351, allocations: 44.75 kB / 1.165 GB, free: 12.8 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 () * 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.0003514/1.351, allocations: 200.1 kB / 1.165 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/1.351, allocations: 150.1 kB / 1.166 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/1.353, allocations: 0.7716 MB / 1.166 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.353, allocations: 8 kB / 1.166 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.353, allocations: 8 kB / 1.166 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/1.353, allocations: 8.297 kB / 1.166 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/1.357, allocations: 2.418 MB / 1.169 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.357, allocations: 7.953 kB / 1.169 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/1.357, allocations: 159.7 kB / 1.169 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/1.357, allocations: 11.98 kB / 1.169 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/1.357, allocations: 23.75 kB / 1.169 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/1.358, allocations: 11.94 kB / 1.169 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.358, allocations: 4 kB / 1.169 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/1.359, allocations: 1.625 MB / 1.171 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/1.36, allocations: 232.6 kB / 1.171 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/1.36, allocations: 33.48 kB / 1.171 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007204/1.361, allocations: 85.47 kB / 1.171 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/1.361, allocations: 92.47 kB / 1.171 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/1.361, allocations: 31.66 kB / 1.171 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001065/1.362, allocations: 0.8036 MB / 1.172 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.81e-07/1.362, allocations: 4 kB / 1.172 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001733/1.364, allocations: 478.6 kB / 1.172 GB, free: 7.871 MB / 0.7448 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) * 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.0003046/1.364, allocations: 170.3 kB / 1.172 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002303/1.366, allocations: 1.481 MB / 1.174 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.366, allocations: 320 / 1.174 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004946/1.367, allocations: 355.8 kB / 1.174 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/1.368, allocations: 251 kB / 1.174 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/1.372, allocations: 1.805 MB / 1.176 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007735/1.373, allocations: 1.227 MB / 1.177 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001518/1.374, allocations: 275.4 kB / 1.178 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/1.374, allocations: 91.7 kB / 1.178 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of SimCode: time 1.483e-06/1.374, allocations: 0 / 1.178 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of Templates: time 0.0322/1.407, allocations: 15.8 MB / 1.193 GB, free: 4.488 MB / 0.7605 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)