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.56/1.56, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.0009346/0.0009346, allocations: 164.9 kB / 366.7 MB, free: 1.656 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.341/1.341, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008521/0.0008527, allocations: 84.59 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.538e-05, allocations: 0 / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6228/0.6229, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.8206, allocations: 143.6 MB / 1.113 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.8209, allocations: 92.39 kB / 1.114 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05736/0.8783, allocations: 22.79 MB / 1.136 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8783, allocations: 0 / 1.136 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.909e-05/0.8784, allocations: 43.98 kB / 1.136 GB, free: 15.84 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.002816/0.8812, allocations: 1.61 MB / 1.137 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.8813, allocations: 8.031 kB / 1.137 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.8816, allocations: 205.6 kB / 1.138 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.8836, allocations: 1.145 MB / 1.139 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.8837, allocations: 44 kB / 1.139 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.8839, allocations: 90.91 kB / 1.139 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001567/0.8855, allocations: 0.8413 MB / 1.14 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.8874, allocations: 1.098 MB / 1.141 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.8875, allocations: 0 / 1.141 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.41e-05/0.8876, allocations: 0 / 1.141 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.8876, allocations: 36 kB / 1.141 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006803/0.8944, allocations: 4.277 MB / 1.145 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.8957, allocations: 0.7484 MB / 1.146 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/0.8962, allocations: 320.8 kB / 1.146 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.69e-05/0.8963, allocations: 23.97 kB / 1.146 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006837/0.897, allocations: 436.7 kB / 1.146 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 4.118e-06/0.897, allocations: 0 / 1.146 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.001115/0.8981, allocations: 0.643 MB / 1.147 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.8982, allocations: 259.2 kB / 1.147 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009223/0.8992, allocations: 0.7773 MB / 1.148 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.045e-05/0.8993, allocations: 49.69 kB / 1.148 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/0.8998, allocations: 0.7489 MB / 1.149 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.9, allocations: 272.2 kB / 1.149 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.9001, allocations: 0 / 1.149 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.9003, allocations: 345.9 kB / 1.149 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004944/0.9008, allocations: 298.6 kB / 1.15 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/0.9015, allocations: 0.6305 MB / 1.15 GB, free: 448 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.9022, allocations: 355.5 kB / 1.151 GB, free: 96 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.9022, allocations: 3.953 kB / 1.151 GB, free: 92 kB / 0.7448 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001586/0.9038, allocations: 0.9917 MB / 1.152 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001094/0.9049, allocations: 2.837 MB / 1.154 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.9049, allocations: 8 kB / 1.154 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.9049, allocations: 15.95 kB / 1.154 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/0.9058, allocations: 243.6 kB / 1.155 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.9058, allocations: 15.94 kB / 1.155 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/0.9068, allocations: 181.6 kB / 1.155 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.795e-05/0.9068, allocations: 50.41 kB / 1.155 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.9069, allocations: 4.781 kB / 1.155 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001312/0.9082, allocations: 0.7897 MB / 1.156 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.9082, allocations: 8.125 kB / 1.156 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.9082, allocations: 16 kB / 1.156 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.9089, allocations: 211.6 kB / 1.156 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.909, allocations: 19.92 kB / 1.156 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007658/0.9097, allocations: 135.3 kB / 1.156 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.9098, allocations: 44 kB / 1.156 GB, free: 10.33 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.0002371/0.9101, allocations: 151.8 kB / 1.156 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.9102, allocations: 130.5 kB / 1.156 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.9115, allocations: 0.6875 MB / 1.157 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.9115, allocations: 15.98 kB / 1.157 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9115, allocations: 0 / 1.157 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.9115, allocations: 3.984 kB / 1.157 GB, free: 9.328 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.9143, allocations: 2.192 MB / 1.159 GB, free: 7.066 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.9144, allocations: 0 / 1.159 GB, free: 7.066 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/0.915, allocations: 164 kB / 1.159 GB, free: 6.906 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.915, allocations: 8 kB / 1.159 GB, free: 6.898 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.052e-05/0.9151, allocations: 15.94 kB / 1.159 GB, free: 6.883 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.9151, allocations: 11.98 kB / 1.159 GB, free: 6.871 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/0.9151, allocations: 6.562 kB / 1.159 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.9168, allocations: 1.516 MB / 1.161 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.917, allocations: 195.5 kB / 1.161 GB, free: 5.043 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.9171, allocations: 12 kB / 1.161 GB, free: 5.031 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000673/0.9178, allocations: 67.92 kB / 1.161 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.918, allocations: 99.73 kB / 1.161 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.918, allocations: 38.42 kB / 1.161 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006844/0.9187, allocations: 0.5563 MB / 1.162 GB, free: 4.27 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9187, allocations: 0 / 1.162 GB, free: 4.27 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001425/0.9202, allocations: 473.6 kB / 1.162 GB, free: 3.805 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.0002527/0.9204, allocations: 151.1 kB / 1.162 GB, free: 3.648 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.9224, allocations: 1.363 MB / 1.164 GB, free: 2.262 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.351e-06/0.9224, allocations: 4 kB / 1.164 GB, free: 2.258 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004698/0.9229, allocations: 332.6 kB / 1.164 GB, free: 1.934 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.9242, allocations: 232.3 kB / 1.164 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.9273, allocations: 1.717 MB / 1.166 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007646/0.9281, allocations: 1.235 MB / 1.167 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001248/0.9293, allocations: 237.3 kB / 1.167 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.9296, allocations: 91.39 kB / 1.167 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.9296, allocations: 0 / 1.167 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of Templates: time 0.02385/0.9534, allocations: 13.47 MB / 1.181 GB, free: 1.164 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)