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.627/1.627, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001238/0.001238, allocations: 181.5 kB / 371.6 MB, free: 3.34 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.717/1.717, allocations: 205.2 MB / 0.6309 GB, free: 11.73 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.0009714/0.0009715, allocations: 91.16 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.521e-05, allocations: 4 kB / 0.8662 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2822, allocations: 116.3 MB / 0.9798 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8316/1.114, allocations: 141.3 MB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/1.114, allocations: 87.98 kB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00982/1.124, allocations: 4.527 MB / 1.122 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/1.124, allocations: 7.938 kB / 1.122 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.694e-05/1.124, allocations: 8 kB / 1.122 GB, free: 40.56 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.0006518/1.125, allocations: 0.5388 MB / 1.123 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.125, allocations: 8.031 kB / 1.123 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/1.125, allocations: 42.19 kB / 1.123 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/1.125, allocations: 281 kB / 1.123 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/1.125, allocations: 23.39 kB / 1.123 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/1.125, allocations: 23.81 kB / 1.123 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/1.126, allocations: 275.7 kB / 1.123 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.126, allocations: 0 / 1.123 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/1.126, allocations: 11.66 kB / 1.123 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/1.126, allocations: 8 kB / 1.123 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/1.126, allocations: 174.6 kB / 1.124 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/1.127, allocations: 0.9688 MB / 1.125 GB, free: 38.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/1.127, allocations: 281.3 kB / 1.125 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/1.128, allocations: 95.67 kB / 1.125 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/1.128, allocations: 7.375 kB / 1.125 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/1.128, allocations: 133.9 kB / 1.125 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/1.128, allocations: 0 / 1.125 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0003013/1.128, allocations: 186.7 kB / 1.125 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/1.128, allocations: 113.2 kB / 1.125 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/1.128, allocations: 258.1 kB / 1.126 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/1.128, allocations: 37.02 kB / 1.126 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/1.129, allocations: 167.7 kB / 1.126 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/1.129, allocations: 68.61 kB / 1.126 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/1.129, allocations: 3.312 kB / 1.126 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/1.129, allocations: 342.4 kB / 1.126 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.126e-05/1.129, allocations: 59.78 kB / 1.126 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/1.129, allocations: 101.8 kB / 1.126 GB, free: 37.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/1.129, allocations: 62.25 kB / 1.126 GB, free: 37.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.129, allocations: 0 / 1.126 GB, free: 37.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002699/1.129, allocations: 199.7 kB / 1.127 GB, free: 37.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/1.129, allocations: 189.5 kB / 1.127 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.129, allocations: 0 / 1.127 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.129, allocations: 7.609 kB / 1.127 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/1.13, allocations: 54.77 kB / 1.127 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/1.13, allocations: 0.8594 kB / 1.127 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/1.13, allocations: 43.58 kB / 1.127 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/1.13, allocations: 7.625 kB / 1.127 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.343e-06/1.13, allocations: 4 kB / 1.127 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002158/1.13, allocations: 153.9 kB / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/1.13, allocations: 0 / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-06/1.13, allocations: 0 / 1.127 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/1.13, allocations: 43.03 kB / 1.127 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-06/1.13, allocations: 4.031 kB / 1.127 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/1.13, allocations: 42.45 kB / 1.127 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.13, allocations: 4 kB / 1.127 GB, free: 36.7 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 () * 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 6.661e-05/1.13, allocations: 121.3 kB / 1.127 GB, free: 36.58 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/1.131, allocations: 23.72 kB / 1.127 GB, free: 36.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/1.131, allocations: 212.2 kB / 1.127 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.131, allocations: 0 / 1.127 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.131, allocations: 0 / 1.127 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.131, allocations: 3.375 kB / 1.127 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006109/1.132, allocations: 0.6583 MB / 1.128 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.132, allocations: 7.953 kB / 1.128 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/1.132, allocations: 58.95 kB / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.132, allocations: 1.125 kB / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/1.132, allocations: 4 kB / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.132, allocations: 1.562 kB / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.132, allocations: 0 / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/1.132, allocations: 408.1 kB / 1.129 GB, free: 35.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/1.132, allocations: 107.6 kB / 1.129 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/1.132, allocations: 6.203 kB / 1.129 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/1.133, allocations: 30.22 kB / 1.129 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/1.133, allocations: 11.06 kB / 1.129 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/1.133, allocations: 11.42 kB / 1.129 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001569/1.133, allocations: 204.2 kB / 1.129 GB, free: 35.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.133, allocations: 4 kB / 1.129 GB, free: 35.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003344/1.133, allocations: 97.59 kB / 1.129 GB, free: 35.21 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 () * 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.0001543/1.133, allocations: 114 kB / 1.129 GB, free: 35.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003634/1.134, allocations: 240.4 kB / 1.129 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.134, allocations: 0 / 1.129 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/1.134, allocations: 81.12 kB / 1.129 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/1.134, allocations: 52.36 kB / 1.129 GB, free: 34.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00061/1.135, allocations: 339.7 kB / 1.13 GB, free: 34.58 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/1.135, allocations: 0.7664 MB / 1.131 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001792/1.135, allocations: 46.52 kB / 1.131 GB, free: 33.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/1.135, allocations: 21.84 kB / 1.131 GB, free: 33.79 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.135, allocations: 7.828 kB / 1.131 GB, free: 33.78 MB / 0.7448 GB Notification: Performance of Templates: time 0.005437/1.141, allocations: 2.773 MB / 1.133 GB, free: 32.22 MB / 0.7448 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)