Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.692/1.692, allocations: 297.8 MB / 313.7 MB, free: 172 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 183 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.2 MB / 0.6626 GB, free: 4.363 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007491/0.0007492, allocations: 100.6 kB / 0.7808 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 16.84 kB / 0.9088 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6475/0.6479, allocations: 120.3 MB / 1.026 GB, free: 55.94 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.8448, allocations: 146.6 MB / 1.169 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.8451, allocations: 85.53 kB / 1.17 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06136/0.9065, allocations: 23.12 MB / 1.192 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.326e-06/0.9065, allocations: 0 / 1.192 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001826/0.9067, allocations: 40 kB / 1.192 GB, free: 8.336 MB / 0.7605 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.005355/0.9121, allocations: 1.847 MB / 1.194 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.9122, allocations: 8.031 kB / 1.194 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009335/0.9131, allocations: 202.6 kB / 1.194 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.9162, allocations: 1.193 MB / 1.195 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.9163, allocations: 119.1 kB / 1.195 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.9165, allocations: 148.4 kB / 1.196 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/0.9195, allocations: 1.411 MB / 1.197 GB, free: 3.246 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.9195, allocations: 4.781 kB / 1.197 GB, free: 3.242 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.9196, allocations: 60 kB / 1.197 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.9197, allocations: 32 kB / 1.197 GB, free: 3.152 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.922, allocations: 1.109 MB / 1.198 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008474/0.9305, allocations: 4.599 MB / 1.203 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.9325, allocations: 0.9529 MB / 1.204 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/0.9333, allocations: 440.7 kB / 1.204 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.22e-05/0.9334, allocations: 23.92 kB / 1.204 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.9344, allocations: 0.551 MB / 1.205 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=87): time 3.046e-06/0.9344, allocations: 0 / 1.205 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=87): time 0.002628/0.9371, allocations: 1.199 MB / 1.206 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.9372, allocations: 243.3 kB / 1.206 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.939, allocations: 1.248 MB / 1.207 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.9392, allocations: 61.69 kB / 1.207 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007068/0.9399, allocations: 0.7525 MB / 1.208 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.9401, allocations: 272.2 kB / 1.208 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.9402, allocations: 24 kB / 1.208 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.9403, allocations: 357.9 kB / 1.209 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008535/0.9412, allocations: 414.4 kB / 1.209 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.9423, allocations: 0.7617 MB / 1.21 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.944, allocations: 1.024 MB / 1.211 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.433e-06/0.944, allocations: 4 kB / 1.211 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002542/0.9465, allocations: 1.308 MB / 1.212 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002606/0.9468, allocations: 339.7 kB / 1.212 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.9468, allocations: 8.938 kB / 1.212 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-05/0.9469, allocations: 12 kB / 1.212 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007959/0.9477, allocations: 231.6 kB / 1.213 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.9477, allocations: 15.94 kB / 1.213 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.9488, allocations: 242.5 kB / 1.213 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-05/0.9489, allocations: 44.94 kB / 1.213 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.949, allocations: 6.938 kB / 1.213 GB, free: 2.383 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001708/0.9507, allocations: 1.032 MB / 1.214 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9507, allocations: 8 kB / 1.214 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.9507, allocations: 12 kB / 1.214 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/0.9514, allocations: 212.1 kB / 1.214 GB, free: 1.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.9514, allocations: 12 kB / 1.214 GB, free: 1.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009175/0.9523, allocations: 182.9 kB / 1.214 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/0.9524, allocations: 53.17 kB / 1.214 GB, free: 0.875 MB / 0.7761 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.0008584/0.9533, allocations: 434.5 kB / 1.215 GB, free: 452 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.9536, allocations: 146.1 kB / 1.215 GB, free: 304 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.9557, allocations: 0.9543 MB / 1.216 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.9558, allocations: 8 kB / 1.216 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.9558, allocations: 0 / 1.216 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.9558, allocations: 8.828 kB / 1.216 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004331/0.9601, allocations: 2.608 MB / 1.218 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.9602, allocations: 0 / 1.218 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/0.9608, allocations: 156 kB / 1.218 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/0.9608, allocations: 11.94 kB / 1.219 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/0.9609, allocations: 29.11 kB / 1.219 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/0.961, allocations: 7.938 kB / 1.219 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.961, allocations: 5.094 kB / 1.219 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.9637, allocations: 1.729 MB / 1.22 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.9641, allocations: 239.6 kB / 1.22 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.9643, allocations: 32 kB / 1.22 GB, free: 10.37 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/0.965, allocations: 87.92 kB / 1.221 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.9652, allocations: 91.8 kB / 1.221 GB, free: 10.19 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-05/0.9653, allocations: 36.97 kB / 1.221 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001173/0.9664, allocations: 0.8218 MB / 1.222 GB, free: 9.336 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9664, allocations: 0 / 1.222 GB, free: 9.336 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001608/0.9681, allocations: 479.4 kB / 1.222 GB, free: 8.867 MB / 0.7917 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.0003069/0.9684, allocations: 170.7 kB / 1.222 GB, free: 8.695 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003272/0.9717, allocations: 1.648 MB / 1.224 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.9717, allocations: 0 / 1.224 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0008717/0.9726, allocations: 437.2 kB / 1.224 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.9749, allocations: 268.6 kB / 1.224 GB, free: 6.348 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.9808, allocations: 2.835 MB / 1.227 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.9819, allocations: 1.196 MB / 1.228 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001372/0.9833, allocations: 216.5 kB / 1.229 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.9836, allocations: 115.4 kB / 1.229 GB, free: 1.914 MB / 0.7917 GB Notification: Performance of SimCode: time 1.413e-06/0.9836, allocations: 0 / 1.229 GB, free: 1.914 MB / 0.7917 GB Notification: Performance of Templates: time 0.03045/1.014, allocations: 13.47 MB / 1.242 GB, free: 4.824 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)