Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.782/1.782, allocations: 297.8 MB / 313.7 MB, free: 64 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.001375/0.001375, allocations: 174.9 kB / 384.6 MB, free: 10.81 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.555/1.555, allocations: 223.2 MB / 0.6626 GB, free: 4.301 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.0009943/0.0009944, allocations: 87.81 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 19.98 kB / 0.9088 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8599/0.8604, allocations: 120.3 MB / 1.026 GB, free: 55.98 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/1.078, allocations: 143.6 MB / 1.167 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.079, allocations: 89.53 kB / 1.167 GB, free: 468 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01343/1.092, allocations: 4.578 MB / 1.171 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.607e-06/1.092, allocations: 1.344 kB / 1.171 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.694e-05/1.092, allocations: 9.125 kB / 1.171 GB, free: 13.38 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001276/1.093, allocations: 0.5751 MB / 1.172 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.094, allocations: 11.09 kB / 1.172 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/1.094, allocations: 37.62 kB / 1.172 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/1.094, allocations: 301.1 kB / 1.172 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/1.094, allocations: 27.44 kB / 1.172 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/1.094, allocations: 25.5 kB / 1.172 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007373/1.095, allocations: 300.9 kB / 1.172 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/1.095, allocations: 0.7969 kB / 1.172 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/1.095, allocations: 18.06 kB / 1.172 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/1.095, allocations: 8 kB / 1.172 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/1.096, allocations: 249.2 kB / 1.173 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/1.098, allocations: 0.9707 MB / 1.174 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/1.098, allocations: 344.9 kB / 1.174 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/1.099, allocations: 128.7 kB / 1.174 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/1.099, allocations: 7.984 kB / 1.174 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003794/1.099, allocations: 178.8 kB / 1.174 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 2.324e-06/1.099, allocations: 0 / 1.174 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0008521/1.1, allocations: 359.8 kB / 1.174 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/1.1, allocations: 106.8 kB / 1.175 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/1.1, allocations: 291 kB / 1.175 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/1.1, allocations: 25.7 kB / 1.175 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/1.101, allocations: 173.2 kB / 1.175 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.566e-05/1.101, allocations: 71 kB / 1.175 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/1.101, allocations: 4 kB / 1.175 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.101, allocations: 341.1 kB / 1.175 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/1.101, allocations: 87.95 kB / 1.176 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/1.101, allocations: 141.5 kB / 1.176 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/1.102, allocations: 223.1 kB / 1.176 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.102, allocations: 0 / 1.176 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005537/1.102, allocations: 270.7 kB / 1.176 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.253e-05/1.102, allocations: 97.84 kB / 1.176 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.102, allocations: 5.5 kB / 1.176 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/1.102, allocations: 0 / 1.176 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/1.103, allocations: 57.31 kB / 1.176 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.103, allocations: 7.938 kB / 1.176 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/1.103, allocations: 45.22 kB / 1.176 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/1.103, allocations: 8 kB / 1.176 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/1.103, allocations: 8 kB / 1.176 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004005/1.103, allocations: 193.2 kB / 1.177 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/1.103, allocations: 0.625 kB / 1.177 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/1.103, allocations: 8.031 kB / 1.177 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/1.104, allocations: 43.91 kB / 1.177 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/1.104, allocations: 0 / 1.177 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/1.104, allocations: 35.83 kB / 1.177 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/1.104, allocations: 4 kB / 1.177 GB, free: 7.695 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0002095/1.104, allocations: 231.7 kB / 1.177 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/1.104, allocations: 27.7 kB / 1.177 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006261/1.105, allocations: 289.5 kB / 1.177 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.105, allocations: 3.984 kB / 1.177 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.105, allocations: 0.75 kB / 1.177 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.105, allocations: 0 / 1.177 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/1.106, allocations: 0.7364 MB / 1.178 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.106, allocations: 0 / 1.178 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/1.106, allocations: 47.95 kB / 1.178 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.106, allocations: 4 kB / 1.178 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/1.106, allocations: 5.5 kB / 1.178 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/1.106, allocations: 4 kB / 1.178 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.106, allocations: 7.875 kB / 1.178 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008434/1.107, allocations: 497.4 kB / 1.178 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/1.107, allocations: 104.8 kB / 1.179 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/1.107, allocations: 12.06 kB / 1.179 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/1.107, allocations: 31.91 kB / 1.179 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/1.107, allocations: 11.98 kB / 1.179 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/1.107, allocations: 7.984 kB / 1.179 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002459/1.108, allocations: 210.2 kB / 1.179 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.422e-06/1.108, allocations: 4 kB / 1.179 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000417/1.108, allocations: 95.53 kB / 1.179 GB, free: 5.289 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.000172/1.108, allocations: 121.4 kB / 1.179 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007746/1.109, allocations: 328.7 kB / 1.179 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.109, allocations: 4.125 kB / 1.179 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/1.109, allocations: 113.6 kB / 1.179 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/1.11, allocations: 49.27 kB / 1.179 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/1.111, allocations: 0.5811 MB / 1.18 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/1.111, allocations: 0.7638 MB / 1.181 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001554/1.111, allocations: 30.27 kB / 1.181 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/1.111, allocations: 27.38 kB / 1.181 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/1.111, allocations: 4 kB / 1.181 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of Templates: time 0.006534/1.118, allocations: 2.415 MB / 1.183 GB, free: 0.9453 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)