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.001377/0.001377, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001643/0.001644, allocations: 196.6 kB / 16.14 MB, free: 6.711 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.326/1.326, allocations: 205.1 MB / 222 MB, free: 4.98 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.623/1.623, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001349/0.001349, allocations: 64.3 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2163, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.582/0.7984, allocations: 160.6 MB / 0.9395 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00463/0.8031, allocations: 3.373 MB / 0.9428 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00059/0.8037, allocations: 14.81 kB / 0.9428 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008403/0.8045, allocations: 243.8 kB / 0.9431 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.8065, allocations: 0.7903 MB / 0.9438 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.8075, allocations: 404.7 kB / 0.9442 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001539/0.8091, allocations: 1.367 MB / 0.9456 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.8095, allocations: 280.9 kB / 0.9458 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005711/0.8101, allocations: 358.8 kB / 0.9462 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009261/0.811, allocations: 351.6 kB / 0.9465 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.205e-05/0.8111, allocations: 19.12 kB / 0.9465 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.8126, allocations: 0.7903 MB / 0.9473 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.8128, allocations: 147.2 kB / 0.9474 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000292/0.8131, allocations: 252.2 kB / 0.9477 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.8144, allocations: 0.9467 MB / 0.9486 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.8144, allocations: 0.8438 kB / 0.9486 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.41e-07/0.8145, allocations: 0 / 0.9486 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.8145, allocations: 0 / 0.9486 GB, free: 5.547 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.001712/0.8162, allocations: 0.8688 MB / 0.9495 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.8162, allocations: 10.75 kB / 0.9495 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.8174, allocations: 150.8 kB / 0.9496 GB, free: 20.94 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007455/0.8181, allocations: 491.8 kB / 0.9501 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.8182, allocations: 22.19 kB / 0.9501 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.716e-05/0.8182, allocations: 27.83 kB / 0.9501 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005969/0.8188, allocations: 324.3 kB / 0.9504 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.8189, allocations: 0.6875 kB / 0.9504 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.8189, allocations: 13.53 kB / 0.9505 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.8189, allocations: 12.53 kB / 0.9505 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.8194, allocations: 215.1 kB / 0.9507 GB, free: 20.61 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.001936/0.8213, allocations: 1.414 MB / 0.9521 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.8217, allocations: 224.2 kB / 0.9523 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.8219, allocations: 119.5 kB / 0.9524 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.8219, allocations: 2.719 kB / 0.9524 GB, free: 19.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.8222, allocations: 162.6 kB / 0.9525 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.8222, allocations: 0 / 0.9525 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.002994/0.8252, allocations: 1.155 MB / 0.9537 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.8253, allocations: 58.62 kB / 0.9537 GB, free: 19.27 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/0.8259, allocations: 458.9 kB / 0.9542 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.826, allocations: 32.05 kB / 0.9542 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.8261, allocations: 233.6 kB / 0.9544 GB, free: 19 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.778e-05/0.8262, allocations: 108.9 kB / 0.9545 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.8264, allocations: 80.48 kB / 0.9546 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.8265, allocations: 357.8 kB / 0.9549 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.8268, allocations: 131.6 kB / 0.9551 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.8272, allocations: 198.5 kB / 0.9552 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/0.8277, allocations: 329.7 kB / 0.9556 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8277, allocations: 0.5312 kB / 0.9556 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001095/0.8288, allocations: 0.4898 MB / 0.956 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.8289, allocations: 11.77 kB / 0.9561 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.8289, allocations: 1.438 kB / 0.9561 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.8292, allocations: 81.12 kB / 0.9561 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.8296, allocations: 75.36 kB / 0.9562 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.8314, allocations: 1.766 MB / 0.9579 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.8318, allocations: 21.19 kB / 0.9579 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.8319, allocations: 15.52 kB / 0.958 GB, free: 17.05 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.000232/0.8321, allocations: 190 kB / 0.9581 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.8322, allocations: 50.31 kB / 0.9582 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.915e-05/0.8323, allocations: 55 kB / 0.9582 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.8323, allocations: 3.312 kB / 0.9582 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.8323, allocations: 1.344 kB / 0.9583 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.8323, allocations: 11.12 kB / 0.9583 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.8341, allocations: 1.016 MB / 0.9593 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.8341, allocations: 0 / 0.9593 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.8346, allocations: 71.58 kB / 0.9593 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003073/0.8349, allocations: 86.03 kB / 0.9594 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.8349, allocations: 10.03 kB / 0.9594 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.8362, allocations: 1.54 MB / 0.9609 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8362, allocations: 1.156 kB / 0.9609 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.8373, allocations: 0.5843 MB / 0.9615 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.8375, allocations: 156 kB / 0.9616 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.8376, allocations: 10.84 kB / 0.9616 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.838, allocations: 18.16 kB / 0.9617 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.838, allocations: 25.91 kB / 0.9617 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.8381, allocations: 8.156 kB / 0.9617 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003675/0.8384, allocations: 306.3 kB / 0.962 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8384, allocations: 0 / 0.962 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006056/0.8391, allocations: 122.8 kB / 0.9621 GB, free: 14.91 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.0009616/0.84, allocations: 445.5 kB / 0.9625 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.8411, allocations: 473.6 kB / 0.963 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8411, allocations: 0 / 0.963 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.8414, allocations: 258.1 kB / 0.9632 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.8426, allocations: 226 kB / 0.9634 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.8444, allocations: 1.169 MB / 0.9646 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.8448, allocations: 0.8527 MB / 0.9654 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000405/0.8452, allocations: 92.78 kB / 0.9655 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.8453, allocations: 39 kB / 0.9655 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/0.8453, allocations: 0 / 0.9655 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.01638/0.8617, allocations: 8.551 MB / 0.9739 GB, free: 12.5 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)