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.0009533/0.0009533, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009336/0.0009337, allocations: 190.6 kB / 16.13 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.1 MB / 222 MB, free: 4.715 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.338/1.338, allocations: 251.7 MB / 0.5088 GB, free: 3.402 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.001274/0.001274, allocations: 59.92 kB / 0.6216 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4034, allocations: 104.7 MB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003079/0.4065, allocations: 2.235 MB / 0.726 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.4077, allocations: 0.7489 MB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.4079, allocations: 7.938 kB / 0.7267 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.4081, allocations: 35.72 kB / 0.7268 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.4082, allocations: 19.8 kB / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.4085, allocations: 103.9 kB / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.4088, allocations: 292.3 kB / 0.7272 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.409, allocations: 152.2 kB / 0.7273 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.4091, allocations: 79.52 kB / 0.7274 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.863e-05/0.4092, allocations: 99.41 kB / 0.7275 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.4093, allocations: 12 kB / 0.7275 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.561e-05/0.4093, allocations: 12 kB / 0.7275 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.4093, allocations: 43.78 kB / 0.7275 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.4094, allocations: 107.3 kB / 0.7276 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.4097, allocations: 384.6 kB / 0.728 GB, free: 8.859 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4097, allocations: 4 kB / 0.728 GB, free: 8.855 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.12e-07/0.4097, allocations: 0 / 0.728 GB, free: 8.855 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.4097, allocations: 0 / 0.728 GB, free: 8.855 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.0007928/0.4105, allocations: 0.5496 MB / 0.7286 GB, free: 8.258 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.4106, allocations: 16.03 kB / 0.7286 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.4106, allocations: 32.5 kB / 0.7286 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.4109, allocations: 296.1 kB / 0.7289 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.411, allocations: 12.81 kB / 0.7289 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.411, allocations: 20.38 kB / 0.7289 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.4114, allocations: 246.8 kB / 0.7292 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4114, allocations: 4 kB / 0.7292 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.4115, allocations: 12 kB / 0.7292 GB, free: 7.578 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.4115, allocations: 4 kB / 0.7292 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.4119, allocations: 175.8 kB / 0.7293 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.413, allocations: 1.042 MB / 0.7304 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.4134, allocations: 178.7 kB / 0.7305 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.4136, allocations: 92.81 kB / 0.7306 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.4137, allocations: 4 kB / 0.7306 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.4137, allocations: 34.56 kB / 0.7307 GB, free: 5.965 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.4137, allocations: 7.875 kB / 0.7307 GB, free: 5.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0005512/0.4142, allocations: 233.6 kB / 0.7309 GB, free: 5.723 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.4143, allocations: 77.11 kB / 0.731 GB, free: 5.629 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.4145, allocations: 254.6 kB / 0.7312 GB, free: 5.371 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.4146, allocations: 29.7 kB / 0.7312 GB, free: 5.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.4146, allocations: 164 kB / 0.7314 GB, free: 5.172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.4147, allocations: 43.3 kB / 0.7314 GB, free: 5.129 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.4147, allocations: 37.7 kB / 0.7315 GB, free: 5.086 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.4148, allocations: 326.8 kB / 0.7318 GB, free: 4.758 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.415, allocations: 72.81 kB / 0.7318 GB, free: 4.684 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.4152, allocations: 106.1 kB / 0.7319 GB, free: 4.566 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.4155, allocations: 161.7 kB / 0.7321 GB, free: 4.402 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4155, allocations: 0 / 0.7321 GB, free: 4.402 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003966/0.4159, allocations: 213.2 kB / 0.7323 GB, free: 4.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.4159, allocations: 7.938 kB / 0.7323 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.416, allocations: 0 / 0.7323 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.416, allocations: 7.984 kB / 0.7323 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.4161, allocations: 31.92 kB / 0.7323 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.4161, allocations: 4 kB / 0.7323 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.4163, allocations: 31.81 kB / 0.7324 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.4163, allocations: 4 kB / 0.7324 GB, free: 4.102 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001834/0.4165, allocations: 160.1 kB / 0.7325 GB, free: 3.941 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001372/0.4166, allocations: 84.27 kB / 0.7326 GB, free: 3.844 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002327/0.4169, allocations: 137.5 kB / 0.7327 GB, free: 3.703 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.4169, allocations: 0 / 0.7327 GB, free: 3.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003025/0.4172, allocations: 185.2 kB / 0.7329 GB, free: 3.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.4172, allocations: 4 kB / 0.7329 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/0.4172, allocations: 3.938 kB / 0.7329 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-06/0.4172, allocations: 7.938 kB / 0.7329 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.4173, allocations: 27.92 kB / 0.733 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.4173, allocations: 4 kB / 0.733 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.4174, allocations: 27.94 kB / 0.733 GB, free: 3.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4175, allocations: 4 kB / 0.733 GB, free: 3.438 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 8.179e-05/0.4175, allocations: 188.3 kB / 0.7332 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.4176, allocations: 27.75 kB / 0.7332 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.4176, allocations: 21.7 kB / 0.7332 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4176, allocations: 0 / 0.7332 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4177, allocations: 0 / 0.7332 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4177, allocations: 4 kB / 0.7332 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.4179, allocations: 317.3 kB / 0.7335 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4179, allocations: 3.938 kB / 0.7335 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.4181, allocations: 31.91 kB / 0.7336 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4181, allocations: 3.938 kB / 0.7336 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4181, allocations: 4 kB / 0.7336 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4181, allocations: 0 / 0.7336 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4181, allocations: 0 / 0.7336 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.4187, allocations: 351.2 kB / 0.7339 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.4187, allocations: 96.94 kB / 0.734 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.4188, allocations: 7.938 kB / 0.734 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.4189, allocations: 11.98 kB / 0.734 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.4189, allocations: 11.98 kB / 0.734 GB, free: 2.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.4189, allocations: 4.062 kB / 0.734 GB, free: 2.285 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001491/0.4191, allocations: 193.9 kB / 0.7342 GB, free: 2.098 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.163e-06/0.4191, allocations: 0 / 0.7342 GB, free: 2.098 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003104/0.4194, allocations: 71.62 kB / 0.7343 GB, free: 2.027 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.674e-05/0.4195, allocations: 99.25 kB / 0.7344 GB, free: 1.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004857/0.42, allocations: 223.8 kB / 0.7346 GB, free: 1.703 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.42, allocations: 0 / 0.7346 GB, free: 1.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.4202, allocations: 67.95 kB / 0.7347 GB, free: 1.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.4206, allocations: 48.52 kB / 0.7347 GB, free: 1.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.4213, allocations: 0.5003 MB / 0.7352 GB, free: 1.066 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.4215, allocations: 0.7404 MB / 0.7359 GB, free: 308 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.696e-05/0.4216, allocations: 21.94 kB / 0.7359 GB, free: 280 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.4216, allocations: 23.44 kB / 0.736 GB, free: 256 kB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4216, allocations: 0 / 0.736 GB, free: 256 kB / 0.545 GB Notification: Performance of Templates: time 0.004136/0.4258, allocations: 2.128 MB / 0.738 GB, free: 14.16 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)