Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_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_maint.7.0.x_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.0006632/0.0006633, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00413/0.00413, allocations: 173.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.337/1.337, allocations: 252 MB / 0.5105 GB, free: 4.625 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004646, allocations: 16 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3566, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002566/0.3592, allocations: 2.032 MB / 0.7307 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3605, allocations: 0.8307 MB / 0.7315 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.3607, allocations: 4 kB / 0.7315 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.3609, allocations: 47.58 kB / 0.7316 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.361, allocations: 35.72 kB / 0.7316 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.3613, allocations: 135.8 kB / 0.7317 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.3617, allocations: 356.2 kB / 0.7321 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.3619, allocations: 172.5 kB / 0.7322 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.362, allocations: 83.45 kB / 0.7323 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.3622, allocations: 103.3 kB / 0.7324 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.3622, allocations: 8 kB / 0.7324 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.056e-05/0.3622, allocations: 8 kB / 0.7324 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.3623, allocations: 47.66 kB / 0.7325 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.3624, allocations: 140.9 kB / 0.7326 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.3627, allocations: 440.3 kB / 0.733 GB, free: 6.801 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3627, allocations: 4 kB / 0.733 GB, free: 6.797 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3627, allocations: 3.938 kB / 0.733 GB, free: 6.793 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.3627, allocations: 0 / 0.733 GB, free: 6.793 MB / 0.545 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.0007952/0.3635, allocations: 0.5847 MB / 0.7336 GB, free: 6.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3635, allocations: 12.03 kB / 0.7336 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.3636, allocations: 36.47 kB / 0.7337 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.364, allocations: 340 kB / 0.734 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.364, allocations: 16.94 kB / 0.734 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.3641, allocations: 24.38 kB / 0.734 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.3646, allocations: 305.5 kB / 0.7343 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.3646, allocations: 4 kB / 0.7343 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3646, allocations: 8 kB / 0.7343 GB, free: 5.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3646, allocations: 8 kB / 0.7343 GB, free: 5.371 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004908/0.3651, allocations: 230.1 kB / 0.7345 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.3665, allocations: 1.165 MB / 0.7357 GB, free: 3.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.3669, allocations: 210.8 kB / 0.7359 GB, free: 3.695 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.3672, allocations: 126.5 kB / 0.736 GB, free: 3.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3672, allocations: 7.984 kB / 0.736 GB, free: 3.562 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3672, allocations: 38.56 kB / 0.7361 GB, free: 3.516 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.3672, allocations: 0 / 0.7361 GB, free: 3.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0006782/0.3679, allocations: 289.1 kB / 0.7363 GB, free: 3.227 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.368, allocations: 55.41 kB / 0.7364 GB, free: 3.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.3682, allocations: 290.9 kB / 0.7367 GB, free: 2.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.3683, allocations: 29.7 kB / 0.7367 GB, free: 2.836 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3684, allocations: 184.2 kB / 0.7369 GB, free: 2.648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.3684, allocations: 63.09 kB / 0.7369 GB, free: 2.586 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.3685, allocations: 21.72 kB / 0.7369 GB, free: 2.559 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3686, allocations: 338.8 kB / 0.7373 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.3688, allocations: 87.94 kB / 0.7374 GB, free: 2.133 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.369, allocations: 119.5 kB / 0.7375 GB, free: 2.004 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.3694, allocations: 211.3 kB / 0.7377 GB, free: 1.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3694, allocations: 0 / 0.7377 GB, free: 1.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004975/0.3699, allocations: 263.6 kB / 0.7379 GB, free: 1.523 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.37, allocations: 117.5 kB / 0.738 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.37, allocations: 0 / 0.738 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.37, allocations: 4 kB / 0.738 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.3702, allocations: 43.97 kB / 0.7381 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3702, allocations: 3.938 kB / 0.7381 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.3704, allocations: 39.67 kB / 0.7381 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.3704, allocations: 11.98 kB / 0.7381 GB, free: 1.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.07e-06/0.3704, allocations: 4 kB / 0.7381 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004023/0.3708, allocations: 203.8 kB / 0.7383 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.3708, allocations: 0 / 0.7383 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/0.3709, allocations: 4 kB / 0.7383 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.371, allocations: 43.91 kB / 0.7384 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.371, allocations: 11.92 kB / 0.7384 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.3712, allocations: 35.89 kB / 0.7384 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3712, allocations: 8 kB / 0.7384 GB, free: 0.9883 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.cheYMinMax.y,conRadSup.conPIDRad.I.trigger_internal) * 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.0001405/0.3713, allocations: 228.9 kB / 0.7386 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.3714, allocations: 23.72 kB / 0.7387 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005128/0.3719, allocations: 251.7 kB / 0.7389 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3719, allocations: 0 / 0.7389 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3719, allocations: 0 / 0.7389 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3719, allocations: 4 kB / 0.7389 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.3722, allocations: 353.3 kB / 0.7392 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3722, allocations: 0 / 0.7392 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.3724, allocations: 39.92 kB / 0.7393 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3724, allocations: 11.97 kB / 0.7393 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3725, allocations: 4 kB / 0.7393 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3725, allocations: 0 / 0.7393 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3725, allocations: 0 / 0.7393 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.3732, allocations: 435.6 kB / 0.7397 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.3733, allocations: 104.7 kB / 0.7398 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.3733, allocations: 11.98 kB / 0.7398 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.3735, allocations: 19.98 kB / 0.7398 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.3735, allocations: 7.984 kB / 0.7399 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.3735, allocations: 4 kB / 0.7399 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001759/0.3737, allocations: 209.9 kB / 0.7401 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3737, allocations: 4.062 kB / 0.7401 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003372/0.3741, allocations: 83.69 kB / 0.7401 GB, free: 15.13 MB / 0.5606 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 (18): * Single equations (assignments): 18 * 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 9.605e-05/0.3742, allocations: 107.2 kB / 0.7402 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006473/0.3748, allocations: 311.7 kB / 0.7405 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3748, allocations: 0 / 0.7405 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.375, allocations: 96.14 kB / 0.7406 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.3754, allocations: 57.06 kB / 0.7407 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007299/0.3762, allocations: 0.6106 MB / 0.7413 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.3765, allocations: 0.7638 MB / 0.742 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.3766, allocations: 30.28 kB / 0.7421 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.3767, allocations: 23.44 kB / 0.7421 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.3767, allocations: 0 / 0.7421 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.00466/0.3814, allocations: 2.343 MB / 0.7444 GB, free: 10.79 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) Environment - environmentSimulation: