Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.041/4.041, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00276/0.002759, allocations: 175.3 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.137/4.137, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001821/0.001821, allocations: 91.78 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007757/0.0007759, allocations: 15.47 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4055, allocations: 106.2 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.7791, allocations: 138 MB / 1.034 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006455/0.7799, allocations: 95.92 kB / 1.034 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.062/1.842, allocations: 26.23 MB / 1.06 GB, free: 139.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.572e-06/1.842, allocations: 4.688 kB / 1.06 GB, free: 139.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002811/1.842, allocations: 39.78 kB / 1.06 GB, free: 139.5 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.01036/1.853, allocations: 1.931 MB / 1.062 GB, free: 138.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/1.853, allocations: 13.27 kB / 1.062 GB, free: 138.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/1.854, allocations: 215.7 kB / 1.062 GB, free: 138.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006926/1.861, allocations: 1.239 MB / 1.063 GB, free: 138 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/1.862, allocations: 116.8 kB / 1.063 GB, free: 138 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008066/1.862, allocations: 158.9 kB / 1.064 GB, free: 138 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008476/1.871, allocations: 1.485 MB / 1.065 GB, free: 137.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.999e-05/1.871, allocations: 4.875 kB / 1.065 GB, free: 137.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/1.871, allocations: 64.73 kB / 1.065 GB, free: 137.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.315e-05/1.872, allocations: 33.72 kB / 1.065 GB, free: 137.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007116/1.879, allocations: 1.158 MB / 1.066 GB, free: 137.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02348/1.902, allocations: 4.768 MB / 1.071 GB, free: 136.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005593/1.908, allocations: 0.9505 MB / 1.072 GB, free: 136.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002674/1.911, allocations: 431.2 kB / 1.072 GB, free: 136.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/1.911, allocations: 20.11 kB / 1.072 GB, free: 136.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003083/1.914, allocations: 0.5363 MB / 1.073 GB, free: 136.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=85): time 7.214e-06/1.914, allocations: 0 / 1.073 GB, free: 136.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.007988/1.922, allocations: 1.181 MB / 1.074 GB, free: 136.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/1.922, allocations: 244.4 kB / 1.074 GB, free: 136 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00499/1.927, allocations: 1.379 MB / 1.076 GB, free: 135.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004445/1.928, allocations: 62.58 kB / 1.076 GB, free: 135.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001396/1.929, allocations: 0.8005 MB / 1.076 GB, free: 135.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006442/1.93, allocations: 272.9 kB / 1.077 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/1.93, allocations: 20.47 kB / 1.077 GB, free: 135.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.93, allocations: 355.1 kB / 1.077 GB, free: 135 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/1.933, allocations: 383.9 kB / 1.077 GB, free: 135 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002812/1.935, allocations: 0.7261 MB / 1.078 GB, free: 134.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002559/1.938, allocations: 438.4 kB / 1.078 GB, free: 134.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.708e-05/1.938, allocations: 1.375 kB / 1.078 GB, free: 134.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.0066/1.945, allocations: 1.211 MB / 1.08 GB, free: 134.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003144/1.945, allocations: 307.8 kB / 1.08 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/1.945, allocations: 10.08 kB / 1.08 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-05/1.945, allocations: 13.09 kB / 1.08 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/1.948, allocations: 239.3 kB / 1.08 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.487e-05/1.948, allocations: 15.91 kB / 1.08 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/1.951, allocations: 213.4 kB / 1.08 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/1.951, allocations: 41.47 kB / 1.08 GB, free: 133.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.951, allocations: 6.406 kB / 1.08 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004397/1.955, allocations: 0.9135 MB / 1.081 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.783e-05/1.956, allocations: 6.75 kB / 1.081 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.026e-05/1.956, allocations: 12.31 kB / 1.081 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/1.958, allocations: 208.2 kB / 1.082 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.276e-05/1.958, allocations: 16.09 kB / 1.082 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/1.96, allocations: 169.6 kB / 1.082 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002533/1.961, allocations: 41.62 kB / 1.082 GB, free: 133.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,cooVal.uFanSta,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.pulseStart,uSupFan.pulseStart,$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): 142 * Array equations: 0 * Algorithm blocks: 0 * 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.002193/1.963, allocations: 443.4 kB / 1.082 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007662/1.964, allocations: 155.5 kB / 1.082 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005554/1.969, allocations: 0.9436 MB / 1.083 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.066e-05/1.969, allocations: 11.98 kB / 1.083 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/1.969, allocations: 2.156 kB / 1.083 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/1.969, allocations: 4.484 kB / 1.083 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/1.982, allocations: 2.588 MB / 1.086 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/1.982, allocations: 1.875 kB / 1.086 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/1.984, allocations: 149.4 kB / 1.086 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.992e-05/1.984, allocations: 6.469 kB / 1.086 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/1.984, allocations: 33.41 kB / 1.086 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.482e-05/1.984, allocations: 5.406 kB / 1.086 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/1.984, allocations: 9.859 kB / 1.086 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007553/1.992, allocations: 1.701 MB / 1.088 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.993, allocations: 243.3 kB / 1.088 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006726/1.994, allocations: 30.38 kB / 1.088 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/1.996, allocations: 94.72 kB / 1.088 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005631/1.997, allocations: 86.69 kB / 1.088 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001582/1.997, allocations: 31.03 kB / 1.088 GB, free: 131.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003351/2, allocations: 0.9014 MB / 1.089 GB, free: 130.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.042e-06/2.001, allocations: 0 / 1.089 GB, free: 130.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00459/2.005, allocations: 475.5 kB / 1.089 GB, free: 130.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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,$whenCondition5,$whenCondition4,cooVal.uFanSta,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.pulseStart) * 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 (87): * Single equations (assignments): 86 * 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.0005186/2.006, allocations: 161 kB / 1.09 GB, free: 130.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006653/2.012, allocations: 1.424 MB / 1.091 GB, free: 130.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/2.012, allocations: 64 / 1.091 GB, free: 130.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00216/2.015, allocations: 433.1 kB / 1.091 GB, free: 130.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004791/2.019, allocations: 317 kB / 1.092 GB, free: 130 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009873/2.029, allocations: 2.954 MB / 1.095 GB, free: 128.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/2.031, allocations: 1.234 MB / 1.096 GB, free: 127.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002827/2.034, allocations: 229.2 kB / 1.096 GB, free: 127.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008382/2.035, allocations: 121.1 kB / 1.096 GB, free: 127.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/2.035, allocations: 0 / 1.096 GB, free: 127.4 MB / 0.698 GB Notification: Performance of Templates: time 0.06014/2.095, allocations: 13.38 MB / 1.109 GB, free: 120.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1)