Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.51/1.51, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 179.7 kB / 327.6 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008/0.0008001, allocations: 86.38 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 9.594 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2169, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.7212/0.9383, allocations: 203.9 MB / 1.101 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02869/0.967, allocations: 19.91 MB / 1.12 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004331/0.9714, allocations: 74.84 kB / 1.12 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004444/0.9759, allocations: 1.133 MB / 1.121 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.9868, allocations: 3.093 MB / 1.124 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.011/0.9978, allocations: 3.227 MB / 1.127 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01768/1.015, allocations: 13.6 MB / 1.141 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005781/1.021, allocations: 3.203 MB / 1.144 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007746/1.029, allocations: 2.914 MB / 1.147 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006711/1.036, allocations: 2.85 MB / 1.149 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001211/1.037, allocations: 148.5 kB / 1.15 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007823/1.045, allocations: 2.385 MB / 1.152 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002318/1.047, allocations: 0.9139 MB / 1.153 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.004545/1.052, allocations: 1.891 MB / 1.155 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008212/1.06, allocations: 5.303 MB / 1.16 GB, free: 172 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.06, allocations: 0 / 1.16 GB, free: 172 kB / 0.7136 GB Notification: Performance of FrontEnd: time 2.906e-06/1.06, allocations: 0 / 1.16 GB, free: 172 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000219/1.06, allocations: 0 / 1.16 GB, free: 172 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.009819/1.07, allocations: 3.807 MB / 1.163 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.07, allocations: 10.88 kB / 1.163 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006308/1.077, allocations: 0.9644 MB / 1.164 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009716/1.086, allocations: 3.884 MB / 1.168 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/1.087, allocations: 190.5 kB / 1.168 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007597/1.087, allocations: 247.6 kB / 1.169 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006267/1.094, allocations: 3.203 MB / 1.172 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-05/1.094, allocations: 6.719 kB / 1.172 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/1.094, allocations: 96.75 kB / 1.172 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/1.094, allocations: 105.6 kB / 1.172 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005892/1.1, allocations: 2.657 MB / 1.175 GB, free: 7.496 MB / 0.7292 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.02662/1.127, allocations: 13.22 MB / 1.187 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/1.131, allocations: 2.172 MB / 1.19 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/1.132, allocations: 0.9553 MB / 1.191 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/1.145, allocations: 4.51 MB / 1.195 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001819/1.147, allocations: 0.9267 MB / 1.196 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001694/1.148, allocations: 170.4 kB / 1.196 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=130): time 5.551e-06/1.148, allocations: 4 kB / 1.196 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=134): time 0.01351/1.162, allocations: 5.487 MB / 1.201 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.162, allocations: 149.8 kB / 1.201 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004725/1.167, allocations: 2.948 MB / 1.204 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0005143/1.167, allocations: 57.7 kB / 1.204 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/1.169, allocations: 1.522 MB / 1.206 GB, free: 6.324 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007328/1.17, allocations: 484.6 kB / 1.206 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/1.17, allocations: 40 kB / 1.206 GB, free: 5.816 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.17, allocations: 385.9 kB / 1.207 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/1.172, allocations: 1.038 MB / 1.208 GB, free: 4.391 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/1.175, allocations: 1.65 MB / 1.209 GB, free: 2.48 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004334/1.179, allocations: 2.506 MB / 1.212 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.18, allocations: 7.938 kB / 1.212 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.009211/1.189, allocations: 3.495 MB / 1.215 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004789/1.189, allocations: 0.5505 MB / 1.216 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.489e-05/1.189, allocations: 16 kB / 1.216 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006898/1.196, allocations: 1.186 MB / 1.217 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/1.199, allocations: 483.2 kB / 1.217 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006032/1.205, allocations: 3.149 MB / 1.221 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003964/1.209, allocations: 248.1 kB / 1.221 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003587/1.209, allocations: 103.9 kB / 1.221 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.209, allocations: 4 kB / 1.221 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007626/1.217, allocations: 3.058 MB / 1.224 GB, free: 3.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.04e-05/1.217, allocations: 16 kB / 1.224 GB, free: 3.066 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00689/1.224, allocations: 1.22 MB / 1.225 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/1.226, allocations: 459.2 kB / 1.225 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005772/1.232, allocations: 3.166 MB / 1.229 GB, free: 14.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/1.235, allocations: 226.6 kB / 1.229 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002939/1.236, allocations: 99.95 kB / 1.229 GB, free: 13.75 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 236 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002292/1.238, allocations: 1.085 MB / 1.23 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008796/1.239, allocations: 304.3 kB / 1.23 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/1.243, allocations: 2.312 MB / 1.233 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/1.243, allocations: 19.98 kB / 1.233 GB, free: 10 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.243, allocations: 4 kB / 1.233 GB, free: 9.996 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003283/1.247, allocations: 1.99 MB / 1.234 GB, free: 7.918 MB / 0.7917 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 postOpt removeSimpleEquations (simulation): time 0.01005/1.257, allocations: 5.066 MB / 1.239 GB, free: 2.785 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/1.257, allocations: 0 / 1.239 GB, free: 2.785 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/1.258, allocations: 303.7 kB / 1.24 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008287/1.259, allocations: 276.7 kB / 1.24 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/1.259, allocations: 51.91 kB / 1.24 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00721/1.266, allocations: 8.668 MB / 1.248 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.266, allocations: 3.938 kB / 1.248 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006841/1.273, allocations: 3.208 MB / 1.252 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002103/1.275, allocations: 0.5947 MB / 1.252 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005751/1.276, allocations: 39.98 kB / 1.252 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.278, allocations: 175.8 kB / 1.252 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/1.278, allocations: 109.1 kB / 1.253 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.279, allocations: 63.95 kB / 1.253 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003555/1.282, allocations: 1.998 MB / 1.255 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.31e-07/1.282, allocations: 0 / 1.255 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.006765/1.289, allocations: 1.597 MB / 1.256 GB, free: 0.8438 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002434/1.291, allocations: 0.8657 MB / 1.257 GB, free: 152 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.304, allocations: 4.411 MB / 1.261 GB, free: 11.71 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/1.304, allocations: 448 / 1.261 GB, free: 11.71 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/1.306, allocations: 1.594 MB / 1.263 GB, free: 10.04 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009274/1.316, allocations: 1.686 MB / 1.264 GB, free: 8.355 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/1.328, allocations: 8.071 MB / 1.272 GB, free: 252 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002039/1.33, allocations: 2.341 MB / 1.275 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.332, allocations: 255.3 kB / 1.275 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of SimCode: time 1.001e-06/1.332, allocations: 0 / 1.275 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of Templates: time 0.1598/1.491, allocations: 124.8 MB / 1.397 GB, free: 0.875 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)