Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.5/2.5, allocations: 284.8 MB / 297.3 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 188.6 kB / 365.7 MB, free: 2.598 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.1 MB / 0.6241 GB, free: 8.184 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001613/0.001612, allocations: 98.53 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.72e-05/4.746e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8825/0.8826, allocations: 115.2 MB / 0.97 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2492/1.132, allocations: 143.1 MB / 1.11 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003958/1.132, allocations: 86.62 kB / 1.11 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1041/1.236, allocations: 22.98 MB / 1.132 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.196e-06/1.237, allocations: 0 / 1.132 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002497/1.237, allocations: 40 kB / 1.132 GB, free: 2.387 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.006407/1.243, allocations: 1.614 MB / 1.134 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.243, allocations: 8.031 kB / 1.134 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009949/1.244, allocations: 202.8 kB / 1.134 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004093/1.248, allocations: 1.145 MB / 1.135 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/1.249, allocations: 110.8 kB / 1.135 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005221/1.249, allocations: 152 kB / 1.135 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00404/1.253, allocations: 1.287 MB / 1.137 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/1.253, allocations: 7.375 kB / 1.137 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/1.254, allocations: 59.98 kB / 1.137 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/1.254, allocations: 36 kB / 1.137 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003202/1.257, allocations: 0.9183 MB / 1.138 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01373/1.271, allocations: 4.586 MB / 1.142 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002687/1.273, allocations: 0.7861 MB / 1.143 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/1.275, allocations: 352.6 kB / 1.143 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/1.275, allocations: 19.97 kB / 1.143 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/1.276, allocations: 466.7 kB / 1.144 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 4.268e-06/1.276, allocations: 0 / 1.144 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.002401/1.278, allocations: 0.7065 MB / 1.144 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001802/1.279, allocations: 247.3 kB / 1.145 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/1.281, allocations: 1.075 MB / 1.146 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003752/1.282, allocations: 65.69 kB / 1.146 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/1.283, allocations: 0.7588 MB / 1.147 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005014/1.283, allocations: 272.2 kB / 1.147 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/1.284, allocations: 24 kB / 1.147 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002048/1.284, allocations: 353.9 kB / 1.147 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/1.285, allocations: 318.6 kB / 1.147 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/1.286, allocations: 0.6642 MB / 1.148 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/1.287, allocations: 401.7 kB / 1.148 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/1.288, allocations: 8 kB / 1.148 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00348/1.291, allocations: 1.118 MB / 1.15 GB, free: 116 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.00167/1.293, allocations: 2.894 MB / 1.152 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/1.293, allocations: 8 kB / 1.152 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.006e-05/1.293, allocations: 16 kB / 1.152 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/1.295, allocations: 235.6 kB / 1.153 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.54e-05/1.295, allocations: 15.98 kB / 1.153 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/1.297, allocations: 226.6 kB / 1.153 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/1.297, allocations: 51.98 kB / 1.153 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.297, allocations: 4 kB / 1.153 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002846/1.3, allocations: 0.9477 MB / 1.154 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/1.3, allocations: 12 kB / 1.154 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/1.3, allocations: 17.22 kB / 1.154 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/1.302, allocations: 207.7 kB / 1.154 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.766e-05/1.302, allocations: 23.36 kB / 1.154 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.304, allocations: 190.7 kB / 1.154 GB, free: 11 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/1.304, allocations: 48 kB / 1.154 GB, free: 10.95 MB / 0.7605 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.0005202/1.305, allocations: 187.8 kB / 1.155 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004553/1.305, allocations: 158.1 kB / 1.155 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/1.308, allocations: 0.7822 MB / 1.155 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/1.308, allocations: 8 kB / 1.155 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.308, allocations: 4 kB / 1.155 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/1.308, allocations: 3.984 kB / 1.155 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006178/1.314, allocations: 2.42 MB / 1.158 GB, free: 7.297 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.314, allocations: 5.781 kB / 1.158 GB, free: 7.293 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.315, allocations: 164 kB / 1.158 GB, free: 7.133 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.366e-05/1.315, allocations: 8 kB / 1.158 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/1.316, allocations: 23.98 kB / 1.158 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-05/1.316, allocations: 8 kB / 1.158 GB, free: 7.094 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.316, allocations: 0 / 1.158 GB, free: 7.094 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006249/1.322, allocations: 1.632 MB / 1.16 GB, free: 5.332 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008345/1.323, allocations: 239 kB / 1.16 GB, free: 5.078 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008299/1.324, allocations: 31.98 kB / 1.16 GB, free: 5.047 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.326, allocations: 83.92 kB / 1.16 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005624/1.327, allocations: 87.86 kB / 1.16 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/1.327, allocations: 27.98 kB / 1.16 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003482/1.331, allocations: 0.8128 MB / 1.161 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.293e-06/1.331, allocations: 0 / 1.161 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004448/1.335, allocations: 478.6 kB / 1.161 GB, free: 3.57 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) * 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.0007151/1.336, allocations: 174.8 kB / 1.161 GB, free: 3.395 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006598/1.343, allocations: 1.47 MB / 1.163 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/1.343, allocations: 0 / 1.163 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/1.345, allocations: 359.2 kB / 1.163 GB, free: 1.555 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/1.349, allocations: 253.4 kB / 1.163 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008737/1.357, allocations: 1.799 MB / 1.165 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/1.359, allocations: 1.234 MB / 1.166 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003901/1.363, allocations: 271.1 kB / 1.167 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006997/1.364, allocations: 91.41 kB / 1.167 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-06/1.364, allocations: 0 / 1.167 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.07225/1.436, allocations: 15.8 MB / 1.182 GB, free: 14.27 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)