Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001182/0.001182, allocations: 197.4 kB / 16.26 MB, free: 6.621 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.355/1.355, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 292.2 MB / 0.5485 GB, free: 13.66 MB / 462.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.002109/0.002109, allocations: 69.75 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2478, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5196/0.7675, allocations: 160.7 MB / 0.9397 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004569/0.7721, allocations: 3.32 MB / 0.943 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006317/0.7727, allocations: 16.12 kB / 0.943 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007975/0.7735, allocations: 240.7 kB / 0.9432 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.7754, allocations: 0.8032 MB / 0.944 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.7764, allocations: 402.4 kB / 0.9444 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.7776, allocations: 1.081 MB / 0.9455 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004412/0.778, allocations: 319.6 kB / 0.9458 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000605/0.7786, allocations: 410.4 kB / 0.9461 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008445/0.7795, allocations: 374.2 kB / 0.9465 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.7796, allocations: 40.38 kB / 0.9465 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.7809, allocations: 0.7292 MB / 0.9473 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.7811, allocations: 164.2 kB / 0.9474 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.7814, allocations: 271.1 kB / 0.9477 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.7826, allocations: 0.9679 MB / 0.9486 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7826, allocations: 0 / 0.9486 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7826, allocations: 3.281 kB / 0.9486 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.7826, allocations: 0 / 0.9486 GB, free: 5.781 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001492/0.7841, allocations: 0.8622 MB / 0.9495 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.7842, allocations: 9 kB / 0.9495 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.7853, allocations: 155.8 kB / 0.9496 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.786, allocations: 488 kB / 0.9501 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.786, allocations: 20.88 kB / 0.9501 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.7861, allocations: 31 kB / 0.9501 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006/0.7867, allocations: 320.7 kB / 0.9504 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.7867, allocations: 4.906 kB / 0.9504 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.7867, allocations: 9.906 kB / 0.9505 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.7868, allocations: 15.36 kB / 0.9505 GB, free: 20.85 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.7872, allocations: 218.9 kB / 0.9507 GB, free: 20.84 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.7891, allocations: 1.417 MB / 0.9521 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.7895, allocations: 228 kB / 0.9523 GB, free: 20 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.7897, allocations: 116.4 kB / 0.9524 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.7897, allocations: 3.094 kB / 0.9524 GB, free: 19.99 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.79, allocations: 162.2 kB / 0.9525 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.873e-06/0.79, allocations: 1.125 kB / 0.9525 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.002952/0.793, allocations: 1.157 MB / 0.9537 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.7931, allocations: 58.75 kB / 0.9537 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.7936, allocations: 458.8 kB / 0.9542 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.7937, allocations: 31.86 kB / 0.9542 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.7938, allocations: 229.6 kB / 0.9544 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/0.7939, allocations: 113.4 kB / 0.9545 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.7941, allocations: 79.66 kB / 0.9546 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.7942, allocations: 357.6 kB / 0.9549 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.7945, allocations: 131 kB / 0.9551 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.7948, allocations: 197.1 kB / 0.9553 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.7953, allocations: 326.1 kB / 0.9556 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7953, allocations: 2.188 kB / 0.9556 GB, free: 18.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00112/0.7965, allocations: 0.4937 MB / 0.9561 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.7965, allocations: 5.562 kB / 0.9561 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7965, allocations: 2.781 kB / 0.9561 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003822/0.7969, allocations: 78.25 kB / 0.9561 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.7973, allocations: 77.83 kB / 0.9562 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.7992, allocations: 1.955 MB / 0.9581 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.7996, allocations: 20.03 kB / 0.9581 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.7996, allocations: 15.66 kB / 0.9582 GB, free: 17.12 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002364/0.7999, allocations: 198.5 kB / 0.9583 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.7999, allocations: 45.53 kB / 0.9584 GB, free: 16.98 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.996e-05/0.8001, allocations: 55.05 kB / 0.9584 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.8001, allocations: 3.562 kB / 0.9584 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.8001, allocations: 5.109 kB / 0.9584 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.8001, allocations: 2.297 kB / 0.9584 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.8016, allocations: 1.02 MB / 0.9594 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.8017, allocations: 1.031 kB / 0.9594 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.802, allocations: 66.94 kB / 0.9595 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/0.8023, allocations: 89.86 kB / 0.9596 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.8024, allocations: 7.625 kB / 0.9596 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.8036, allocations: 1.648 MB / 0.9612 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8036, allocations: 0 / 0.9612 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009919/0.8046, allocations: 0.5932 MB / 0.9618 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.8048, allocations: 151.3 kB / 0.9619 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/0.8049, allocations: 18.05 kB / 0.962 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.8053, allocations: 22.42 kB / 0.962 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.8053, allocations: 20 kB / 0.962 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.8054, allocations: 18.72 kB / 0.962 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003125/0.8057, allocations: 305.2 kB / 0.9623 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8057, allocations: 1.188 kB / 0.9623 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005371/0.8062, allocations: 123.4 kB / 0.9624 GB, free: 14.88 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009213/0.8072, allocations: 431.7 kB / 0.9628 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009744/0.8082, allocations: 483.2 kB / 0.9633 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.8082, allocations: 1.125 kB / 0.9633 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.8085, allocations: 254.5 kB / 0.9635 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.8096, allocations: 246.6 kB / 0.9638 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.8111, allocations: 1.165 MB / 0.9649 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.8115, allocations: 0.8516 MB / 0.9657 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003652/0.8119, allocations: 90.66 kB / 0.9658 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.812, allocations: 42.72 kB / 0.9659 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of SimCode: time 4.1e-07/0.812, allocations: 0 / 0.9659 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of Templates: time 0.01516/0.8272, allocations: 8.885 MB / 0.9745 GB, free: 12.45 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)