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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 293 MB / 309 MB, free: 4.828 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.001122/0.001122, allocations: 176.1 kB / 378.7 MB, free: 1.031 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.406/1.406, allocations: 205.4 MB / 0.6383 GB, free: 8.133 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.0007215/0.0007216, allocations: 97.52 kB / 0.7527 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003778, allocations: 15.98 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2367, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.643/0.8798, allocations: 141.4 MB / 1.129 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.8801, allocations: 87.55 kB / 1.129 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01023/0.8903, allocations: 4.554 MB / 1.133 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8904, allocations: 4 kB / 1.133 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.8904, allocations: 4 kB / 1.133 GB, free: 29.78 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.00091/0.8913, allocations: 0.5849 MB / 1.134 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.8914, allocations: 8.031 kB / 1.134 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.8915, allocations: 40.47 kB / 1.134 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.8919, allocations: 304.5 kB / 1.134 GB, free: 28.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.8919, allocations: 18.8 kB / 1.134 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.892, allocations: 20.38 kB / 1.134 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.8926, allocations: 311 kB / 1.134 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.8926, allocations: 0.8438 kB / 1.134 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.8926, allocations: 12.59 kB / 1.134 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.8926, allocations: 8.844 kB / 1.134 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.8932, allocations: 257.1 kB / 1.135 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.8946, allocations: 0.9624 MB / 1.136 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.8952, allocations: 348.3 kB / 1.136 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.8955, allocations: 129 kB / 1.136 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.8955, allocations: 0.6562 kB / 1.136 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.8959, allocations: 184.8 kB / 1.136 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.724e-06/0.8959, allocations: 2.188 kB / 1.136 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.0008001/0.8967, allocations: 357.9 kB / 1.137 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.8968, allocations: 103.4 kB / 1.137 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.8971, allocations: 290 kB / 1.137 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.8972, allocations: 33.7 kB / 1.137 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.8973, allocations: 172.5 kB / 1.137 GB, free: 25.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.8974, allocations: 67.98 kB / 1.137 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.8974, allocations: 4 kB / 1.137 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.8975, allocations: 339.9 kB / 1.137 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.8977, allocations: 93.5 kB / 1.138 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.8979, allocations: 136.2 kB / 1.138 GB, free: 25.31 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.8984, allocations: 218.3 kB / 1.138 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8984, allocations: 0 / 1.138 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005663/0.899, allocations: 280.9 kB / 1.138 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/0.8991, allocations: 102.6 kB / 1.138 GB, free: 24.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8991, allocations: 0 / 1.138 GB, free: 24.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.8991, allocations: 4.75 kB / 1.138 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.8993, allocations: 49.61 kB / 1.138 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.8993, allocations: 3.938 kB / 1.138 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.8995, allocations: 51.11 kB / 1.138 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.8996, allocations: 12.33 kB / 1.138 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.8996, allocations: 5.719 kB / 1.138 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003972/0.9, allocations: 193.3 kB / 1.139 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9, allocations: 1.5 kB / 1.139 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/0.9, allocations: 0.7031 kB / 1.139 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.9002, allocations: 46.55 kB / 1.139 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.9002, allocations: 4 kB / 1.139 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.9004, allocations: 30.41 kB / 1.139 GB, free: 24.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.9004, allocations: 16.61 kB / 1.139 GB, free: 24.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.000169/0.9006, allocations: 217.9 kB / 1.139 GB, free: 24.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.9006, allocations: 28.52 kB / 1.139 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005837/0.9012, allocations: 289.7 kB / 1.139 GB, free: 23.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.9013, allocations: 4 kB / 1.139 GB, free: 23.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.9013, allocations: 0 / 1.139 GB, free: 23.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.9013, allocations: 1.125 kB / 1.139 GB, free: 23.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.9023, allocations: 0.7393 MB / 1.14 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.9023, allocations: 4.562 kB / 1.14 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.9026, allocations: 49.55 kB / 1.14 GB, free: 23.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.9026, allocations: 0 / 1.14 GB, free: 23.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.9026, allocations: 12.05 kB / 1.14 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.9026, allocations: 0 / 1.14 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.9026, allocations: 9.031 kB / 1.14 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000794/0.9034, allocations: 497 kB / 1.14 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.9035, allocations: 111.1 kB / 1.141 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.9035, allocations: 6.219 kB / 1.141 GB, free: 22.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.9037, allocations: 29.94 kB / 1.141 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.9038, allocations: 13.81 kB / 1.141 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.9038, allocations: 5.453 kB / 1.141 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002016/0.904, allocations: 218.4 kB / 1.141 GB, free: 22.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.904, allocations: 3.938 kB / 1.141 GB, free: 22.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003951/0.9044, allocations: 92.34 kB / 1.141 GB, free: 22.25 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.0001449/0.9046, allocations: 105.3 kB / 1.141 GB, free: 22.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000683/0.9053, allocations: 334.7 kB / 1.141 GB, free: 21.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9053, allocations: 0.9375 kB / 1.141 GB, free: 21.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.9055, allocations: 114.4 kB / 1.141 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.906, allocations: 47.58 kB / 1.141 GB, free: 21.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/0.907, allocations: 0.5929 MB / 1.142 GB, free: 21.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.9072, allocations: 0.7613 MB / 1.143 GB, free: 20.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.9074, allocations: 28.53 kB / 1.143 GB, free: 20.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.9074, allocations: 29.45 kB / 1.143 GB, free: 20.35 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9074, allocations: 0 / 1.143 GB, free: 20.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.006319/0.9138, allocations: 2.401 MB / 1.145 GB, free: 19.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)