Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.543/2.543, allocations: 287.5 MB / 303.2 MB, free: 8.145 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.001313/0.001313, allocations: 179.1 kB / 371.8 MB, free: 10.77 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.061/2.061, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008788/0.0008781, allocations: 91.2 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004738, allocations: 10.22 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8895/1.094, allocations: 143.2 MB / 1.119 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/1.094, allocations: 89.58 kB / 1.119 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08491/1.179, allocations: 23.07 MB / 1.142 GB, free: 25.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.976e-06/1.179, allocations: 0 / 1.142 GB, free: 25.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000176/1.179, allocations: 34.91 kB / 1.142 GB, free: 25.48 MB / 0.698 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.005816/1.185, allocations: 1.845 MB / 1.144 GB, free: 24.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.185, allocations: 7.625 kB / 1.144 GB, free: 24.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006735/1.186, allocations: 203.1 kB / 1.144 GB, free: 24.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/1.189, allocations: 1.195 MB / 1.145 GB, free: 23.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/1.189, allocations: 116.1 kB / 1.145 GB, free: 23.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002945/1.19, allocations: 149.2 kB / 1.145 GB, free: 23.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/1.193, allocations: 1.409 MB / 1.147 GB, free: 23.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.161e-05/1.193, allocations: 3.938 kB / 1.147 GB, free: 23.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/1.194, allocations: 59.66 kB / 1.147 GB, free: 23.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/1.194, allocations: 34.69 kB / 1.147 GB, free: 23.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/1.197, allocations: 1.113 MB / 1.148 GB, free: 22.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/1.208, allocations: 4.595 MB / 1.152 GB, free: 20.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/1.211, allocations: 0.9535 MB / 1.153 GB, free: 20.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/1.212, allocations: 443.8 kB / 1.154 GB, free: 20.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.531e-05/1.212, allocations: 15.12 kB / 1.154 GB, free: 20.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/1.214, allocations: 0.5533 MB / 1.154 GB, free: 20.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=87): time 4.057e-06/1.214, allocations: 0 / 1.154 GB, free: 20.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=87): time 0.004022/1.218, allocations: 1.198 MB / 1.155 GB, free: 19.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/1.218, allocations: 242.7 kB / 1.156 GB, free: 19.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/1.22, allocations: 1.245 MB / 1.157 GB, free: 19.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002659/1.22, allocations: 62 kB / 1.157 GB, free: 19.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000711/1.221, allocations: 0.7526 MB / 1.158 GB, free: 18.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/1.221, allocations: 270.6 kB / 1.158 GB, free: 18.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.851e-05/1.221, allocations: 30.41 kB / 1.158 GB, free: 18.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.222, allocations: 363 kB / 1.158 GB, free: 18.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/1.223, allocations: 413.5 kB / 1.159 GB, free: 18.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/1.225, allocations: 0.7687 MB / 1.159 GB, free: 17.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/1.228, allocations: 1.013 MB / 1.16 GB, free: 17.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/1.228, allocations: 4 kB / 1.16 GB, free: 17.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003958/1.232, allocations: 1.308 MB / 1.162 GB, free: 16.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002291/1.232, allocations: 341.4 kB / 1.162 GB, free: 15.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/1.232, allocations: 8 kB / 1.162 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-05/1.232, allocations: 12 kB / 1.162 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.233, allocations: 234.3 kB / 1.162 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/1.233, allocations: 15.94 kB / 1.162 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/1.235, allocations: 239.7 kB / 1.162 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/1.236, allocations: 50.66 kB / 1.162 GB, free: 15.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.236, allocations: 6.344 kB / 1.162 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002803/1.238, allocations: 1.029 MB / 1.163 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.238, allocations: 8 kB / 1.163 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/1.238, allocations: 12 kB / 1.163 GB, free: 14.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.24, allocations: 204.9 kB / 1.164 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/1.24, allocations: 19.94 kB / 1.164 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/1.241, allocations: 180.5 kB / 1.164 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/1.242, allocations: 57.3 kB / 1.164 GB, free: 14.06 MB / 0.698 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.001095/1.243, allocations: 430.5 kB / 1.164 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/1.243, allocations: 146.1 kB / 1.164 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/1.246, allocations: 0.9653 MB / 1.165 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.246, allocations: 8 kB / 1.165 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.246, allocations: 4 kB / 1.165 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.246, allocations: 3.984 kB / 1.165 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006417/1.253, allocations: 2.586 MB / 1.168 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.253, allocations: 4 kB / 1.168 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.254, allocations: 158.6 kB / 1.168 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/1.254, allocations: 15.94 kB / 1.168 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.375e-05/1.254, allocations: 25.73 kB / 1.168 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/1.254, allocations: 4 kB / 1.168 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.254, allocations: 4 kB / 1.168 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004711/1.259, allocations: 1.734 MB / 1.17 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/1.26, allocations: 244.5 kB / 1.17 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/1.26, allocations: 28.56 kB / 1.17 GB, free: 9.145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/1.261, allocations: 85.8 kB / 1.17 GB, free: 9.074 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/1.262, allocations: 94.81 kB / 1.17 GB, free: 8.992 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.373e-05/1.262, allocations: 34.59 kB / 1.17 GB, free: 8.965 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001701/1.263, allocations: 0.8239 MB / 1.171 GB, free: 8.367 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.263, allocations: 0 / 1.171 GB, free: 8.367 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002296/1.266, allocations: 486 kB / 1.172 GB, free: 7.941 MB / 0.698 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.000366/1.266, allocations: 164.9 kB / 1.172 GB, free: 7.789 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005186/1.271, allocations: 1.657 MB / 1.173 GB, free: 6.527 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.271, allocations: 0 / 1.173 GB, free: 6.527 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.273, allocations: 445.4 kB / 1.174 GB, free: 6.203 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/1.276, allocations: 261.8 kB / 1.174 GB, free: 6.027 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006783/1.283, allocations: 2.825 MB / 1.177 GB, free: 3.379 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.284, allocations: 1.198 MB / 1.178 GB, free: 2.148 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001791/1.286, allocations: 219.2 kB / 1.178 GB, free: 1.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/1.287, allocations: 110.4 kB / 1.178 GB, free: 1.824 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.287, allocations: 3.938 kB / 1.178 GB, free: 1.82 MB / 0.698 GB Notification: Performance of Templates: time 0.04487/1.332, allocations: 13.32 MB / 1.191 GB, free: 4.672 MB / 0.7136 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)