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.BoilerReturn.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.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006947/0.0006946, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.003922/0.003922, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.166/1.166, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.339/1.339, allocations: 252 MB / 0.5105 GB, free: 4.641 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.0004845/0.0004845, allocations: 16.38 kB / 0.6249 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3693, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.001908/0.3713, allocations: 1.873 MB / 0.7306 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3723, allocations: 0.7412 MB / 0.7313 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3725, allocations: 4 kB / 0.7313 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.3727, allocations: 39.66 kB / 0.7313 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.877e-05/0.3728, allocations: 23.8 kB / 0.7313 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.373, allocations: 99.94 kB / 0.7314 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.3733, allocations: 292.2 kB / 0.7317 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.3735, allocations: 140.2 kB / 0.7319 GB, free: 8.047 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.3736, allocations: 59.59 kB / 0.7319 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.405e-05/0.3737, allocations: 79.44 kB / 0.732 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.3738, allocations: 4 kB / 0.732 GB, free: 7.906 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.7e-05/0.3738, allocations: 8 kB / 0.732 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.3738, allocations: 31.78 kB / 0.732 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.144e-05/0.3739, allocations: 125 kB / 0.7321 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3742, allocations: 356.6 kB / 0.7325 GB, free: 7.391 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3742, allocations: 8 kB / 0.7325 GB, free: 7.383 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3742, allocations: 0 / 0.7325 GB, free: 7.383 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3742, allocations: 0 / 0.7325 GB, free: 7.383 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.000697/0.3749, allocations: 0.5301 MB / 0.733 GB, free: 6.805 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.3749, allocations: 8.031 kB / 0.733 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.375, allocations: 28.66 kB / 0.733 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.3753, allocations: 296 kB / 0.7333 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.3753, allocations: 16.81 kB / 0.7333 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.3754, allocations: 16.38 kB / 0.7334 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.3758, allocations: 258.8 kB / 0.7336 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3758, allocations: 3.938 kB / 0.7336 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.3759, allocations: 11.98 kB / 0.7336 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3759, allocations: 4 kB / 0.7336 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.3763, allocations: 195.8 kB / 0.7338 GB, free: 5.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.3774, allocations: 1.046 MB / 0.7348 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.3779, allocations: 202.7 kB / 0.735 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.3781, allocations: 104.8 kB / 0.7351 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.3781, allocations: 0 / 0.7351 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.3782, allocations: 30.56 kB / 0.7352 GB, free: 4.461 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 8.01e-07/0.3782, allocations: 0 / 0.7352 GB, free: 4.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006052/0.3788, allocations: 269.2 kB / 0.7354 GB, free: 4.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.3788, allocations: 77.11 kB / 0.7355 GB, free: 4.098 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.3791, allocations: 262.6 kB / 0.7357 GB, free: 3.832 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3791, allocations: 29.7 kB / 0.7358 GB, free: 3.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.3792, allocations: 163.9 kB / 0.7359 GB, free: 3.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.3792, allocations: 43.39 kB / 0.736 GB, free: 3.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.3793, allocations: 25.64 kB / 0.736 GB, free: 3.559 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.3794, allocations: 334.8 kB / 0.7363 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.3795, allocations: 67.95 kB / 0.7364 GB, free: 3.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.3797, allocations: 118.1 kB / 0.7365 GB, free: 3.027 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.3801, allocations: 173.3 kB / 0.7366 GB, free: 2.852 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3801, allocations: 3.938 kB / 0.7367 GB, free: 2.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004415/0.3806, allocations: 233.2 kB / 0.7369 GB, free: 2.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.3806, allocations: 118.7 kB / 0.737 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3806, allocations: 0 / 0.737 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.3806, allocations: 4 kB / 0.737 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3808, allocations: 31.98 kB / 0.737 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3808, allocations: 7.984 kB / 0.737 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.381, allocations: 35.83 kB / 0.7371 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.381, allocations: 4 kB / 0.7371 GB, free: 2.402 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.35e-06/0.381, allocations: 4 kB / 0.7371 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002855/0.3813, allocations: 147.9 kB / 0.7372 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.3813, allocations: 4 kB / 0.7372 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.3813, allocations: 3.984 kB / 0.7372 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3814, allocations: 35.92 kB / 0.7373 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.3814, allocations: 3.938 kB / 0.7373 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.3815, allocations: 27.83 kB / 0.7373 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3816, allocations: 4 kB / 0.7373 GB, free: 2.176 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001277/0.3817, allocations: 225.1 kB / 0.7375 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.3817, allocations: 19.72 kB / 0.7375 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.3818, allocations: 21.7 kB / 0.7375 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3818, allocations: 11.88 kB / 0.7376 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3818, allocations: 0 / 0.7376 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3818, allocations: 3.984 kB / 0.7376 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.3821, allocations: 313.4 kB / 0.7379 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3821, allocations: 0 / 0.7379 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.3823, allocations: 35.98 kB / 0.7379 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3823, allocations: 0 / 0.7379 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3823, allocations: 4 kB / 0.7379 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3823, allocations: 3.938 kB / 0.7379 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3823, allocations: 4 kB / 0.7379 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.3829, allocations: 383 kB / 0.7383 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.383, allocations: 96.86 kB / 0.7384 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.383, allocations: 4 kB / 0.7384 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.3831, allocations: 23.92 kB / 0.7384 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.3832, allocations: 7.984 kB / 0.7384 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.3832, allocations: 4 kB / 0.7384 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001563/0.3833, allocations: 194 kB / 0.7386 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3833, allocations: 0 / 0.7386 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003151/0.3837, allocations: 67.69 kB / 0.7386 GB, free: 0.6914 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.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 (12): * Single equations (assignments): 12 * 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 8.924e-05/0.3838, allocations: 106.6 kB / 0.7388 GB, free: 0.582 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005324/0.3843, allocations: 247.7 kB / 0.739 GB, free: 348 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3843, allocations: 0 / 0.739 GB, free: 348 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.3845, allocations: 84.69 kB / 0.7391 GB, free: 264 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.3849, allocations: 47.16 kB / 0.7391 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.3856, allocations: 0.4908 MB / 0.7396 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3858, allocations: 0.7443 MB / 0.7403 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.658e-05/0.3859, allocations: 17.95 kB / 0.7403 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.386, allocations: 23.44 kB / 0.7404 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.386, allocations: 0 / 0.7404 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.004336/0.3903, allocations: 2.107 MB / 0.7424 GB, free: 12.81 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) Environment - environmentSimulation: