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.001172/0.001172, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.159/1.159, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.345/1.345, allocations: 251.7 MB / 0.5092 GB, free: 3.105 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.001575/0.001575, allocations: 68.27 kB / 0.6223 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3939, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002965/0.3969, allocations: 2.193 MB / 0.7267 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.398, allocations: 0.78 MB / 0.7274 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.3981, allocations: 4 kB / 0.7274 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.3983, allocations: 51.52 kB / 0.7275 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.47e-05/0.3984, allocations: 35.59 kB / 0.7275 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.3987, allocations: 123.8 kB / 0.7276 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.3989, allocations: 316.3 kB / 0.7279 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.3992, allocations: 148.2 kB / 0.7281 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.818e-05/0.3993, allocations: 99.53 kB / 0.7282 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3994, allocations: 115.5 kB / 0.7283 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.3994, allocations: 32 kB / 0.7283 GB, free: 9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.514e-05/0.3995, allocations: 36 kB / 0.7283 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.3995, allocations: 63.78 kB / 0.7284 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.316e-05/0.3996, allocations: 127.3 kB / 0.7285 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.3999, allocations: 396.7 kB / 0.7289 GB, free: 8.391 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4, allocations: 0 / 0.7289 GB, free: 8.391 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.173e-06/0.4, allocations: 0 / 0.7289 GB, free: 8.391 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.4, allocations: 0 / 0.7289 GB, free: 8.391 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.0007443/0.4007, allocations: 0.5573 MB / 0.7294 GB, free: 7.785 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.4008, allocations: 8.031 kB / 0.7295 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.4008, allocations: 32.56 kB / 0.7295 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.4011, allocations: 296 kB / 0.7298 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.4012, allocations: 12.81 kB / 0.7298 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.4012, allocations: 20.38 kB / 0.7298 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.4016, allocations: 250.8 kB / 0.73 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.4016, allocations: 3.938 kB / 0.73 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.4017, allocations: 8 kB / 0.73 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.4017, allocations: 8 kB / 0.7301 GB, free: 7.105 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.4021, allocations: 167.9 kB / 0.7302 GB, free: 6.941 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.4032, allocations: 1.042 MB / 0.7312 GB, free: 5.828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.4037, allocations: 186.6 kB / 0.7314 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.4039, allocations: 96.84 kB / 0.7315 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.4039, allocations: 0 / 0.7315 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.4039, allocations: 42.5 kB / 0.7315 GB, free: 5.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 8.92e-07/0.4039, allocations: 0 / 0.7315 GB, free: 5.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005808/0.4045, allocations: 229.2 kB / 0.7318 GB, free: 5.258 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.4046, allocations: 85.09 kB / 0.7318 GB, free: 5.156 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.4048, allocations: 262.6 kB / 0.7321 GB, free: 4.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.4048, allocations: 25.7 kB / 0.7321 GB, free: 4.859 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.4049, allocations: 160 kB / 0.7323 GB, free: 4.699 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.405, allocations: 39.31 kB / 0.7323 GB, free: 4.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.405, allocations: 41.7 kB / 0.7323 GB, free: 4.613 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4052, allocations: 330.8 kB / 0.7327 GB, free: 4.281 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.4054, allocations: 72.81 kB / 0.7327 GB, free: 4.207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.4055, allocations: 104.2 kB / 0.7328 GB, free: 4.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.4059, allocations: 153.8 kB / 0.733 GB, free: 3.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.4059, allocations: 0 / 0.733 GB, free: 3.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004122/0.4063, allocations: 217.2 kB / 0.7332 GB, free: 3.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.4063, allocations: 7.938 kB / 0.7332 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.4063, allocations: 4 kB / 0.7332 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4064, allocations: 0 / 0.7332 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.4065, allocations: 35.97 kB / 0.7332 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.4065, allocations: 0 / 0.7332 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.4067, allocations: 31.83 kB / 0.7333 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4067, allocations: 8.062 kB / 0.7333 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001879/0.4069, allocations: 156.1 kB / 0.7334 GB, free: 3.473 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001402/0.407, allocations: 98.38 kB / 0.7335 GB, free: 3.363 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00024/0.4073, allocations: 126.6 kB / 0.7336 GB, free: 3.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/0.4073, allocations: 4 kB / 0.7336 GB, free: 3.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003188/0.4076, allocations: 184.6 kB / 0.7338 GB, free: 3.043 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.4076, allocations: 4 kB / 0.7338 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.4076, allocations: 4 kB / 0.7338 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-06/0.4076, allocations: 3.938 kB / 0.7338 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.4078, allocations: 39.98 kB / 0.7339 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-06/0.4078, allocations: 0 / 0.7339 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.4079, allocations: 19.89 kB / 0.7339 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.4079, allocations: 8 kB / 0.7339 GB, free: 2.965 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 9.613e-05/0.408, allocations: 188.2 kB / 0.7341 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.408, allocations: 23.73 kB / 0.7341 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.4081, allocations: 17.72 kB / 0.7341 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4081, allocations: 7.984 kB / 0.7341 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4081, allocations: 7.938 kB / 0.7341 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4081, allocations: 3.984 kB / 0.7341 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.4084, allocations: 317.3 kB / 0.7344 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4084, allocations: 0 / 0.7344 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.4086, allocations: 27.98 kB / 0.7345 GB, free: 2.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4086, allocations: 3.938 kB / 0.7345 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.4086, allocations: 4 kB / 0.7345 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.4086, allocations: 3.984 kB / 0.7345 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4086, allocations: 0 / 0.7345 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/0.4092, allocations: 347.1 kB / 0.7348 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.4093, allocations: 96.95 kB / 0.7349 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.4093, allocations: 3.938 kB / 0.7349 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.4094, allocations: 24.03 kB / 0.7349 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.4095, allocations: 4 kB / 0.7349 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.4095, allocations: 7.938 kB / 0.7349 GB, free: 1.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000158/0.4097, allocations: 190 kB / 0.7351 GB, free: 1.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4097, allocations: 0 / 0.7351 GB, free: 1.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003144/0.41, allocations: 67.69 kB / 0.7352 GB, free: 1.559 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 9.783e-05/0.4101, allocations: 103.2 kB / 0.7353 GB, free: 1.449 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005349/0.4106, allocations: 227.8 kB / 0.7355 GB, free: 1.227 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4106, allocations: 0 / 0.7355 GB, free: 1.227 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.4108, allocations: 75.89 kB / 0.7356 GB, free: 1.152 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.4112, allocations: 59.41 kB / 0.7356 GB, free: 1.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.4119, allocations: 406.2 kB / 0.736 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.4122, allocations: 0.744 MB / 0.7367 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.708e-05/0.4123, allocations: 25.94 kB / 0.7368 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.4123, allocations: 19.44 kB / 0.7368 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.4123, allocations: 0 / 0.7368 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of Templates: time 0.004578/0.4169, allocations: 2.273 MB / 0.739 GB, free: 13.61 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (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)