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.584/1.584, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001098/0.001099, allocations: 180.8 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.621/1.621, 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.000906/0.0009062, allocations: 90.08 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.893e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6783/0.6783, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.8689, allocations: 140.6 MB / 1.111 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.8692, allocations: 83.94 kB / 1.111 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01152/0.8807, allocations: 4.514 MB / 1.115 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.765e-06/0.8808, allocations: 0 / 1.115 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.749e-05/0.8808, allocations: 8 kB / 1.115 GB, free: 5.055 MB / 0.7136 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.0009476/0.8817, allocations: 0.5371 MB / 1.116 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.8818, allocations: 8.031 kB / 1.116 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.882, allocations: 39.61 kB / 1.116 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.8824, allocations: 285.6 kB / 1.116 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.8825, allocations: 12 kB / 1.116 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.8826, allocations: 16 kB / 1.116 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003721/0.8829, allocations: 170.5 kB / 1.116 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.8834, allocations: 230.6 kB / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.8834, allocations: 0 / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.8834, allocations: 0 / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.8835, allocations: 8 kB / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.8851, allocations: 0.8923 MB / 1.117 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.8856, allocations: 284 kB / 1.117 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.8857, allocations: 80.86 kB / 1.118 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.8858, allocations: 0 / 1.118 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.886, allocations: 135.1 kB / 1.118 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.102e-06/0.886, allocations: 3.938 kB / 1.118 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0003972/0.8865, allocations: 177.7 kB / 1.118 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.8865, allocations: 106.8 kB / 1.118 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.8868, allocations: 200.5 kB / 1.118 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.8868, allocations: 29.7 kB / 1.118 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.887, allocations: 182 kB / 1.118 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.8871, allocations: 55.11 kB / 1.118 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.8871, allocations: 6.953 kB / 1.118 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.8873, allocations: 334.8 kB / 1.119 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.744e-05/0.8874, allocations: 60.38 kB / 1.119 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.8875, allocations: 92.84 kB / 1.119 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.8876, allocations: 62.5 kB / 1.119 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.8876, allocations: 0 / 1.119 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003532/0.888, allocations: 189.3 kB / 1.119 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.8881, allocations: 182 kB / 1.119 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8881, allocations: 0 / 1.119 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.8882, allocations: 7.953 kB / 1.119 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.8884, allocations: 51.91 kB / 1.119 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.8884, allocations: 8 kB / 1.119 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.8886, allocations: 35.81 kB / 1.119 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.8887, allocations: 4 kB / 1.119 GB, free: 368 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.8887, allocations: 4 kB / 1.119 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002214/0.8889, allocations: 127.9 kB / 1.12 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-06/0.8889, allocations: 0 / 1.12 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.8889, allocations: 8.031 kB / 1.12 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.8891, allocations: 47.44 kB / 1.12 GB, free: 184 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.8891, allocations: 4 kB / 1.12 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.8893, allocations: 19.98 kB / 1.12 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.8893, allocations: 4 kB / 1.12 GB, free: 156 kB / 0.7136 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 () * 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.0001134/0.8894, allocations: 114.9 kB / 1.12 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.8895, allocations: 31.66 kB / 1.12 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.8899, allocations: 183.8 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.8899, allocations: 3.953 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.8899, allocations: 0 / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8899, allocations: 4.219 kB / 1.12 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008026/0.8907, allocations: 0.5951 MB / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.8908, allocations: 15.52 kB / 1.121 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.891, allocations: 51.91 kB / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.891, allocations: 0 / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.8911, allocations: 0 / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.8911, allocations: 7.953 kB / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.8911, allocations: 0 / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.8916, allocations: 379.1 kB / 1.121 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.774e-05/0.8917, allocations: 104.9 kB / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.8918, allocations: 3.953 kB / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.892, allocations: 24.03 kB / 1.121 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.8921, allocations: 27.95 kB / 1.121 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.8921, allocations: 4 kB / 1.121 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00017/0.8922, allocations: 164.5 kB / 1.121 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8923, allocations: 0 / 1.121 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004488/0.8927, allocations: 91.53 kB / 1.121 GB, free: 14.29 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 () * 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.0001814/0.8929, allocations: 95.25 kB / 1.121 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004143/0.8933, allocations: 235.5 kB / 1.122 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8933, allocations: 8.125 kB / 1.122 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.8935, allocations: 71.94 kB / 1.122 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.8938, allocations: 35.31 kB / 1.122 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007253/0.8945, allocations: 325.7 kB / 1.122 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.8949, allocations: 0.7717 MB / 1.123 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.8951, allocations: 35.36 kB / 1.123 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.8952, allocations: 19.44 kB / 1.123 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/0.8952, allocations: 4 kB / 1.123 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of Templates: time 0.00577/0.9009, allocations: 2.311 MB / 1.125 GB, free: 10.41 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)