Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 292.6 MB / 307.5 MB, free: 5.156 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.001203/0.001203, allocations: 185 kB / 377.1 MB, free: 1.496 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.668/1.668, allocations: 205.4 MB / 0.6367 GB, free: 8.469 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.0009945/0.0009942, allocations: 95.48 kB / 0.751 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003514, allocations: 12 kB / 0.8748 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 116.3 MB / 0.9884 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.789/1.085, allocations: 141.3 MB / 1.126 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/1.085, allocations: 89.16 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.009773/1.095, allocations: 4.539 MB / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.753e-06/1.095, allocations: 0 / 1.131 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.474e-05/1.095, allocations: 8 kB / 1.131 GB, free: 30.61 MB / 0.7292 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.0007343/1.096, allocations: 0.5837 MB / 1.132 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.096, allocations: 11.36 kB / 1.132 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.322e-05/1.096, allocations: 38.36 kB / 1.132 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/1.096, allocations: 294.1 kB / 1.132 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/1.096, allocations: 20.56 kB / 1.132 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/1.096, allocations: 28 kB / 1.132 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/1.097, allocations: 302.4 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.097, allocations: 0 / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/1.097, allocations: 12.75 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/1.097, allocations: 5.75 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/1.098, allocations: 256.5 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/1.099, allocations: 0.9656 MB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006281/1.099, allocations: 345.7 kB / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/1.1, allocations: 0 / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003628/1.1, allocations: 176 kB / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/1.1, allocations: 0 / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0007753/1.101, allocations: 356.5 kB / 1.134 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/1.101, allocations: 114.8 kB / 1.134 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/1.101, allocations: 258.7 kB / 1.135 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/1.101, allocations: 33.7 kB / 1.135 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/1.101, allocations: 172.1 kB / 1.135 GB, free: 26.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/1.101, allocations: 64.55 kB / 1.135 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/1.101, allocations: 10.81 kB / 1.135 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/1.101, allocations: 331.8 kB / 1.135 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/1.102, allocations: 97.41 kB / 1.135 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/1.102, allocations: 140.5 kB / 1.135 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/1.102, allocations: 106.7 kB / 1.135 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.102, allocations: 4.562 kB / 1.135 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005077/1.103, allocations: 268.1 kB / 1.136 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.756e-05/1.103, allocations: 191 kB / 1.136 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.103, allocations: 0.8125 kB / 1.136 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.103, allocations: 6.016 kB / 1.136 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/1.103, allocations: 48.81 kB / 1.136 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.103, allocations: 0.5469 kB / 1.136 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/1.103, allocations: 43.25 kB / 1.136 GB, free: 25.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/1.103, allocations: 8.703 kB / 1.136 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/1.103, allocations: 4 kB / 1.136 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00038/1.104, allocations: 198.8 kB / 1.136 GB, free: 25.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/1.104, allocations: 4.031 kB / 1.136 GB, free: 25.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-06/1.104, allocations: 0 / 1.136 GB, free: 25.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/1.104, allocations: 51.22 kB / 1.136 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/1.104, allocations: 0.625 kB / 1.136 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/1.104, allocations: 41.98 kB / 1.136 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/1.104, allocations: 8.656 kB / 1.136 GB, free: 25.41 MB / 0.7292 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.0001421/1.104, allocations: 225.7 kB / 1.137 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/1.104, allocations: 25.27 kB / 1.137 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005882/1.105, allocations: 288.4 kB / 1.137 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/1.105, allocations: 4 kB / 1.137 GB, free: 24.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.105, allocations: 0 / 1.137 GB, free: 24.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.105, allocations: 1.312 kB / 1.137 GB, free: 24.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009603/1.106, allocations: 0.7357 MB / 1.138 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.106, allocations: 1.281 kB / 1.138 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/1.106, allocations: 48.58 kB / 1.138 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/1.106, allocations: 0.5625 kB / 1.138 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/1.106, allocations: 8.5 kB / 1.138 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.106, allocations: 2.125 kB / 1.138 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.106, allocations: 0 / 1.138 GB, free: 24.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007681/1.107, allocations: 0.5068 MB / 1.138 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/1.107, allocations: 111.5 kB / 1.138 GB, free: 23.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/1.107, allocations: 0.6094 kB / 1.138 GB, free: 23.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/1.107, allocations: 30.97 kB / 1.138 GB, free: 23.53 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/1.107, allocations: 18.94 kB / 1.138 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/1.107, allocations: 5.266 kB / 1.138 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001933/1.107, allocations: 214.7 kB / 1.138 GB, free: 23.33 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.107, allocations: 0 / 1.138 GB, free: 23.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003675/1.108, allocations: 97.14 kB / 1.139 GB, free: 23.23 MB / 0.7292 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.000138/1.108, allocations: 113 kB / 1.139 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000694/1.109, allocations: 329.5 kB / 1.139 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.109, allocations: 4 kB / 1.139 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/1.109, allocations: 111.1 kB / 1.139 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/1.109, allocations: 47.25 kB / 1.139 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/1.11, allocations: 0.5985 MB / 1.14 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/1.11, allocations: 0.7672 MB / 1.14 GB, free: 21.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001377/1.11, allocations: 32.23 kB / 1.141 GB, free: 21.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.689e-05/1.111, allocations: 25.03 kB / 1.141 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.111, allocations: 1.125 kB / 1.141 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.006065/1.117, allocations: 2.37 MB / 1.143 GB, free: 20.02 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)