Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.001491, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001785, allocations: 196.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 62.36 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.258, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003159/0.2612, allocations: 2.25 MB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008649/0.2621, allocations: 0.5063 MB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.2623, allocations: 7.938 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.2625, allocations: 31.72 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.2626, allocations: 35.72 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.2628, allocations: 115.9 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000316/0.2632, allocations: 340.2 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.2635, allocations: 173.1 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.2636, allocations: 115.4 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.2637, allocations: 119.3 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.2638, allocations: 16 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.23e-05/0.2638, allocations: 16 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.2639, allocations: 55.7 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.264, allocations: 131.2 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.2643, allocations: 442.8 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2643, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.32e-07/0.2643, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2644, allocations: 4 kB / 1.072 GB, free: 6.496 MB / 0.8262 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.0009239/0.2653, allocations: 0.6003 MB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2653, allocations: 11.97 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.2654, allocations: 32.56 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.2658, allocations: 323.3 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2658, allocations: 16.94 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.2659, allocations: 24.38 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.2664, allocations: 284.2 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2665, allocations: 3.938 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.2665, allocations: 12 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2665, allocations: 4 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.2671, allocations: 214.1 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.2685, allocations: 0.9857 MB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.269, allocations: 275.4 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.2692, allocations: 104.8 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.2693, allocations: 0 / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.2693, allocations: 42.56 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 9.41e-07/0.2693, allocations: 0 / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007256/0.27, allocations: 255.3 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.2701, allocations: 51.41 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.2703, allocations: 274.7 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.2704, allocations: 29.7 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2705, allocations: 176.1 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.2705, allocations: 55.2 kB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.2706, allocations: 45.61 kB / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2707, allocations: 334.8 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.271, allocations: 80.75 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.2712, allocations: 125.1 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.2717, allocations: 197.9 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2717, allocations: 0 / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005367/0.2722, allocations: 249.1 kB / 1.076 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2722, allocations: 17.94 kB / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2723, allocations: 0 / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2723, allocations: 4 kB / 1.076 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.2725, allocations: 39.97 kB / 1.076 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2725, allocations: 3.938 kB / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.2727, allocations: 31.77 kB / 1.076 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.2727, allocations: 4 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002559/0.273, allocations: 180.1 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001977/0.2732, allocations: 120 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000354/0.2736, allocations: 177.6 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.2736, allocations: 0 / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004647/0.274, allocations: 242.8 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.2741, allocations: 4.125 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/0.2741, allocations: 4 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.2741, allocations: 4 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.2743, allocations: 43.97 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2743, allocations: 3.938 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.2744, allocations: 23.83 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.2745, allocations: 8 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.2746, allocations: 192.8 kB / 1.077 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.2746, allocations: 31.7 kB / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.2752, allocations: 215.6 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2752, allocations: 0 / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.2752, allocations: 0 / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2752, allocations: 4 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009186/0.2761, allocations: 0.6363 MB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2761, allocations: 0 / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.2764, allocations: 35.91 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2764, allocations: 4 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.2764, allocations: 4 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2764, allocations: 0 / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.2764, allocations: 0 / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.2771, allocations: 404.8 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.2772, allocations: 100.8 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.2773, allocations: 4 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.2774, allocations: 20.05 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.2775, allocations: 11.98 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.2775, allocations: 11.94 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001912/0.2777, allocations: 194 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2777, allocations: 0 / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003896/0.2781, allocations: 87.59 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001072/0.2782, allocations: 95.25 kB / 1.079 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007032/0.2789, allocations: 289.3 kB / 1.079 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.279, allocations: 0 / 1.079 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.2792, allocations: 88.39 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.2796, allocations: 36.55 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008827/0.2805, allocations: 0.5609 MB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.2808, allocations: 0.7637 MB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000136/0.281, allocations: 29.94 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.924e-05/0.2811, allocations: 23.42 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.2811, allocations: 0 / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.00498/0.286, allocations: 2.117 MB / 1.083 GB, free: 10.47 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)