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.004676/0.004676, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001148/0.001148, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.178/1.178, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.248/1.248, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.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.00125/0.00125, allocations: 67.89 kB / 0.7258 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4354, allocations: 104.7 MB / 0.828 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003029/0.4384, allocations: 2.378 MB / 0.8303 GB, free: 348 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.4397, allocations: 0.8581 MB / 0.8312 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.4398, allocations: 4 kB / 0.8312 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.44, allocations: 55.41 kB / 0.8312 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.4401, allocations: 51.53 kB / 0.8313 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.4404, allocations: 159.7 kB / 0.8314 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.4408, allocations: 388.2 kB / 0.8318 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.441, allocations: 184.5 kB / 0.832 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.4412, allocations: 131.4 kB / 0.8321 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.4413, allocations: 143.2 kB / 0.8323 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.4413, allocations: 44 kB / 0.8323 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 3.653e-05/0.4414, allocations: 40 kB / 0.8323 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.4414, allocations: 79.77 kB / 0.8324 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.4416, allocations: 163.1 kB / 0.8326 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.4419, allocations: 492.3 kB / 0.833 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4419, allocations: 4 kB / 0.833 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4419, allocations: 0 / 0.833 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.4419, allocations: 4 kB / 0.833 GB, free: 13.57 MB / 0.6387 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.0008445/0.4428, allocations: 0.6273 MB / 0.8337 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.4428, allocations: 8.031 kB / 0.8337 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.4429, allocations: 32.56 kB / 0.8337 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.4433, allocations: 344.2 kB / 0.834 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.4434, allocations: 20.94 kB / 0.834 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.4434, allocations: 24.38 kB / 0.8341 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.4439, allocations: 301.5 kB / 0.8344 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4439, allocations: 0 / 0.8344 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.444, allocations: 8 kB / 0.8344 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.444, allocations: 8 kB / 0.8344 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.4445, allocations: 214.1 kB / 0.8346 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.4457, allocations: 1.15 MB / 0.8357 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.4462, allocations: 208.7 kB / 0.8359 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.4464, allocations: 116.8 kB / 0.836 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.4464, allocations: 0 / 0.836 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.4465, allocations: 34.56 kB / 0.836 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=17): time 9.91e-07/0.4465, allocations: 4 kB / 0.836 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=17): time 0.0006545/0.4471, allocations: 273.1 kB / 0.8363 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.4472, allocations: 55.31 kB / 0.8364 GB, free: 9.969 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.4474, allocations: 291 kB / 0.8366 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.4475, allocations: 29.7 kB / 0.8367 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.4476, allocations: 184.2 kB / 0.8368 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.4476, allocations: 55.11 kB / 0.8369 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.4477, allocations: 41.7 kB / 0.8369 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4478, allocations: 342.8 kB / 0.8373 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.448, allocations: 76.81 kB / 0.8373 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.4482, allocations: 123.3 kB / 0.8374 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.4486, allocations: 190.4 kB / 0.8376 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4486, allocations: 0 / 0.8376 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004884/0.4491, allocations: 261.1 kB / 0.8379 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.4492, allocations: 4 kB / 0.8379 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4492, allocations: 0 / 0.8379 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4492, allocations: 7.938 kB / 0.8379 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.4494, allocations: 44.06 kB / 0.8379 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4494, allocations: 0 / 0.8379 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.4495, allocations: 27.83 kB / 0.838 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.4496, allocations: 8 kB / 0.838 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00024/0.4498, allocations: 180.1 kB / 0.8381 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001792/0.45, allocations: 116.2 kB / 0.8382 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003277/0.4503, allocations: 178.9 kB / 0.8384 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.4503, allocations: 7.875 kB / 0.8384 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004126/0.4508, allocations: 245.2 kB / 0.8387 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/0.4508, allocations: 4 kB / 0.8387 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.4508, allocations: 4 kB / 0.8387 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-06/0.4508, allocations: 0 / 0.8387 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.451, allocations: 43.91 kB / 0.8387 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.451, allocations: 4 kB / 0.8387 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.4511, allocations: 27.92 kB / 0.8387 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4511, allocations: 11.94 kB / 0.8387 GB, free: 7.418 MB / 0.6387 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.0001557/0.4513, allocations: 193.3 kB / 0.8389 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.4513, allocations: 23.72 kB / 0.839 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005098/0.4518, allocations: 234.8 kB / 0.8392 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4519, allocations: 4 kB / 0.8392 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4519, allocations: 0 / 0.8392 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4519, allocations: 0 / 0.8392 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.4522, allocations: 357.2 kB / 0.8395 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4522, allocations: 0 / 0.8395 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.4524, allocations: 39.91 kB / 0.8396 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4524, allocations: 0 / 0.8396 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.4524, allocations: 8 kB / 0.8396 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4524, allocations: 0 / 0.8396 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4524, allocations: 0 / 0.8396 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.4531, allocations: 407 kB / 0.84 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.4532, allocations: 108.8 kB / 0.8401 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.4532, allocations: 0 / 0.8401 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.4534, allocations: 20.05 kB / 0.8401 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.4534, allocations: 7.984 kB / 0.8401 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.4535, allocations: 11.98 kB / 0.8401 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001807/0.4536, allocations: 210 kB / 0.8403 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4536, allocations: 0 / 0.8403 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003474/0.454, allocations: 87.59 kB / 0.8404 GB, free: 5.645 MB / 0.6387 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 0.0001046/0.4541, allocations: 99.19 kB / 0.8405 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006645/0.4548, allocations: 287.7 kB / 0.8408 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4548, allocations: 0 / 0.8408 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.455, allocations: 91.89 kB / 0.8408 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.4554, allocations: 60 kB / 0.8409 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007984/0.4562, allocations: 0.4951 MB / 0.8414 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4565, allocations: 0.7635 MB / 0.8421 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001262/0.4567, allocations: 38.27 kB / 0.8422 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.4567, allocations: 23.44 kB / 0.8422 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of SimCode: time 2e-07/0.4567, allocations: 0 / 0.8422 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of Templates: time 0.005126/0.4619, allocations: 2.595 MB / 0.8447 GB, free: 1.191 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (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)