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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 192.5 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205 MB / 0.6353 GB, free: 9.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009058/0.0009058, allocations: 96.41 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 47.92 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2133, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5514/0.7647, allocations: 160.6 MB / 1.139 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005027/0.7698, allocations: 3.39 MB / 1.142 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006413/0.7705, allocations: 13.41 kB / 1.142 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008534/0.7713, allocations: 247 kB / 1.143 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.7733, allocations: 0.796 MB / 1.143 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.7744, allocations: 396.7 kB / 1.144 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.7758, allocations: 1.372 MB / 1.145 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003519/0.7762, allocations: 279 kB / 1.145 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005498/0.7767, allocations: 361.9 kB / 1.146 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009466/0.7777, allocations: 357.5 kB / 1.146 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.7777, allocations: 16.06 kB / 1.146 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.779, allocations: 0.7886 MB / 1.147 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.7792, allocations: 147.7 kB / 1.147 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.7795, allocations: 251.4 kB / 1.147 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.7805, allocations: 0.9541 MB / 1.148 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.7805, allocations: 0 / 1.148 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.32e-07/0.7805, allocations: 0 / 1.148 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.7805, allocations: 0 / 1.148 GB, free: 12.51 MB / 0.7605 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.001363/0.7819, allocations: 0.8695 MB / 1.149 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7819, allocations: 10.44 kB / 1.149 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009586/0.7829, allocations: 152.6 kB / 1.149 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000675/0.7836, allocations: 485.2 kB / 1.15 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.7836, allocations: 21.5 kB / 1.15 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.434e-05/0.7837, allocations: 31.52 kB / 1.15 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.7842, allocations: 322.7 kB / 1.15 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.7842, allocations: 7.938 kB / 1.15 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.7842, allocations: 11.34 kB / 1.15 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.7842, allocations: 13.44 kB / 1.15 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.7846, allocations: 216.3 kB / 1.15 GB, free: 11.2 MB / 0.7605 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.00177/0.7864, allocations: 1.409 MB / 1.152 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.7867, allocations: 223.4 kB / 1.152 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.7869, allocations: 107.2 kB / 1.152 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.787, allocations: 7.188 kB / 1.152 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.7872, allocations: 162.5 kB / 1.152 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 3.256e-06/0.7872, allocations: 0 / 1.152 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30): time 0.002751/0.79, allocations: 1.154 MB / 1.153 GB, free: 9.25 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.7901, allocations: 66.5 kB / 1.153 GB, free: 9.176 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.7905, allocations: 454.6 kB / 1.154 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.7905, allocations: 36.89 kB / 1.154 GB, free: 8.93 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.7907, allocations: 228 kB / 1.154 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.17e-05/0.7908, allocations: 109.7 kB / 1.154 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.7909, allocations: 80.95 kB / 1.154 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.7911, allocations: 356.6 kB / 1.154 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.7913, allocations: 131.2 kB / 1.155 GB, free: 8.234 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.7915, allocations: 197.9 kB / 1.155 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.792, allocations: 330.8 kB / 1.155 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.792, allocations: 0.5 kB / 1.155 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009184/0.7929, allocations: 0.4939 MB / 1.156 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.7929, allocations: 6.562 kB / 1.156 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7929, allocations: 0 / 1.156 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003697/0.7933, allocations: 84.25 kB / 1.156 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.7936, allocations: 65.36 kB / 1.156 GB, free: 7.684 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.7955, allocations: 1.777 MB / 1.157 GB, free: 6.102 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.7959, allocations: 25.81 kB / 1.158 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.796, allocations: 17.88 kB / 1.158 GB, free: 6.082 MB / 0.7605 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.0002239/0.7962, allocations: 192.7 kB / 1.158 GB, free: 5.926 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.7963, allocations: 49.72 kB / 1.158 GB, free: 5.898 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.7964, allocations: 56.72 kB / 1.158 GB, free: 5.859 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.7964, allocations: 7.938 kB / 1.158 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7964, allocations: 3.25 kB / 1.158 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.7964, allocations: 0.75 kB / 1.158 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.798, allocations: 1.012 MB / 1.159 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.7981, allocations: 3.328 kB / 1.159 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.7984, allocations: 68.17 kB / 1.159 GB, free: 5.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002833/0.7987, allocations: 79.58 kB / 1.159 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.7988, allocations: 11.09 kB / 1.159 GB, free: 5.215 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.8001, allocations: 1.542 MB / 1.16 GB, free: 3.773 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8001, allocations: 3.312 kB / 1.16 GB, free: 3.773 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00814/0.8082, allocations: 5.337 MB / 1.166 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.8085, allocations: 153.1 kB / 1.166 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.8085, allocations: 15.81 kB / 1.166 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.8089, allocations: 18.58 kB / 1.166 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.809, allocations: 24.62 kB / 1.166 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.809, allocations: 9.891 kB / 1.166 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003334/0.8093, allocations: 307.3 kB / 1.166 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8093, allocations: 0 / 1.166 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007199/0.8101, allocations: 187.6 kB / 1.166 GB, free: 15.54 MB / 0.7761 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.0009711/0.811, allocations: 438.5 kB / 1.167 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009227/0.812, allocations: 463.5 kB / 1.167 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.812, allocations: 0 / 1.167 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.8123, allocations: 252.4 kB / 1.167 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.8134, allocations: 222 kB / 1.168 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.8156, allocations: 1.541 MB / 1.169 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.8161, allocations: 0.8574 MB / 1.17 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000385/0.8165, allocations: 84.72 kB / 1.17 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.8166, allocations: 39.84 kB / 1.17 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of SimCode: time 9.11e-07/0.8166, allocations: 0 / 1.17 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of Templates: time 0.01397/0.8306, allocations: 9.883 MB / 1.18 GB, free: 12.36 MB / 0.7761 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)