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.001468/0.001468, allocations: 109.4 kB / 15.69 MB, free: 128 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.00162/0.00162, allocations: 188.1 kB / 16.62 MB, free: 6.613 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.317/1.317, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.729/1.729, allocations: 292.3 MB / 0.5489 GB, free: 12.76 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.001656/0.001656, allocations: 72.47 kB / 0.6722 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2022, allocations: 114.6 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5363/0.7386, allocations: 162.9 MB / 0.9432 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005327/0.7439, allocations: 3.331 MB / 0.9464 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.745, allocations: 19.23 kB / 0.9465 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.7463, allocations: 273.3 kB / 0.9467 GB, free: 1.965 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002215/0.7485, allocations: 0.8564 MB / 0.9476 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.7495, allocations: 442.4 kB / 0.948 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.7509, allocations: 1.084 MB / 0.949 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004111/0.7513, allocations: 329.4 kB / 0.9494 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006415/0.752, allocations: 404 kB / 0.9497 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009436/0.7529, allocations: 355.5 kB / 0.9501 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.589e-05/0.7531, allocations: 39.59 kB / 0.9501 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.7545, allocations: 0.6935 MB / 0.9508 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.7547, allocations: 172.4 kB / 0.951 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.755, allocations: 266.8 kB / 0.9512 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.7562, allocations: 0.9297 MB / 0.9521 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7562, allocations: 1.094 kB / 0.9521 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7562, allocations: 0 / 0.9521 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.7563, allocations: 0 / 0.9521 GB, free: 1.305 MB / 0.7169 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.0013/0.7576, allocations: 0.8672 MB / 0.953 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.7576, allocations: 9.969 kB / 0.953 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009952/0.7586, allocations: 150.4 kB / 0.9531 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000707/0.7593, allocations: 0.4906 MB / 0.9536 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.7594, allocations: 22.19 kB / 0.9536 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.7594, allocations: 36.59 kB / 0.9537 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.7599, allocations: 316.6 kB / 0.954 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.76, allocations: 1.094 kB / 0.954 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.76, allocations: 14.38 kB / 0.954 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.76, allocations: 16.88 kB / 0.954 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.7604, allocations: 214.2 kB / 0.9542 GB, free: 16.36 MB / 0.7325 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.0017/0.7621, allocations: 1.406 MB / 0.9556 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.7625, allocations: 229.9 kB / 0.9558 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.7627, allocations: 112.6 kB / 0.9559 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.7627, allocations: 2.719 kB / 0.9559 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.763, allocations: 168.5 kB / 0.9561 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/0.763, allocations: 0 / 0.9561 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002747/0.7657, allocations: 1.153 MB / 0.9572 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.7658, allocations: 60.8 kB / 0.9572 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.7663, allocations: 457.3 kB / 0.9577 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.7663, allocations: 36.78 kB / 0.9577 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.7665, allocations: 238.2 kB / 0.9579 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.959e-05/0.7666, allocations: 107.6 kB / 0.958 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.7667, allocations: 82.72 kB / 0.9581 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7668, allocations: 353 kB / 0.9585 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.7671, allocations: 135.2 kB / 0.9586 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.7673, allocations: 196.5 kB / 0.9588 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.7678, allocations: 322.8 kB / 0.9591 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7678, allocations: 1.062 kB / 0.9591 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009251/0.7687, allocations: 0.4937 MB / 0.9596 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.7687, allocations: 4.594 kB / 0.9596 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7688, allocations: 3.25 kB / 0.9596 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/0.7691, allocations: 88.61 kB / 0.9597 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.7694, allocations: 67.72 kB / 0.9597 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.7713, allocations: 1.949 MB / 0.9616 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.7716, allocations: 13.84 kB / 0.9616 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.7717, allocations: 17.84 kB / 0.9617 GB, free: 12.58 MB / 0.7325 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.0002246/0.7719, allocations: 194 kB / 0.9618 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.772, allocations: 45.72 kB / 0.9619 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.7721, allocations: 60.91 kB / 0.9619 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7721, allocations: 2.844 kB / 0.9619 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.7721, allocations: 2.156 kB / 0.9619 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7721, allocations: 1.922 kB / 0.9619 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.7737, allocations: 1.013 MB / 0.9629 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.7737, allocations: 2.203 kB / 0.9629 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.7741, allocations: 71.86 kB / 0.963 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002908/0.7744, allocations: 79.7 kB / 0.9631 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.7745, allocations: 12.78 kB / 0.9631 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.7759, allocations: 1.644 MB / 0.9647 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7759, allocations: 1.375 kB / 0.9647 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.777, allocations: 0.5956 MB / 0.9653 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.7772, allocations: 155.5 kB / 0.9654 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.7773, allocations: 10.81 kB / 0.9654 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.7776, allocations: 9.984 kB / 0.9655 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.7777, allocations: 23.7 kB / 0.9655 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.7777, allocations: 13.38 kB / 0.9655 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003446/0.7781, allocations: 303.8 kB / 0.9658 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7781, allocations: 0 / 0.9658 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005852/0.7787, allocations: 124.8 kB / 0.9659 GB, free: 10.32 MB / 0.7325 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.00104/0.7797, allocations: 437.6 kB / 0.9663 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009632/0.7807, allocations: 464.2 kB / 0.9668 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.7807, allocations: 1.219 kB / 0.9668 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.781, allocations: 260.7 kB / 0.967 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.7823, allocations: 248.3 kB / 0.9672 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.784, allocations: 1.002 MB / 0.9682 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.7844, allocations: 0.854 MB / 0.9691 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003209/0.7847, allocations: 83.91 kB / 0.9691 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.7848, allocations: 38.84 kB / 0.9692 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7848, allocations: 0 / 0.9692 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of Templates: time 0.01575/0.8006, allocations: 8.921 MB / 0.9779 GB, free: 5.605 MB / 0.7325 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)