Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009234/0.0009236, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009618/0.0009618, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.777/1.777, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.000607/0.000607, allocations: 10.91 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2812, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.9034/1.185, allocations: 190.6 MB / 0.9734 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03306/1.218, allocations: 18.51 MB / 0.9915 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00474/1.223, allocations: 68.22 kB / 0.9916 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004672/1.227, allocations: 0.9106 MB / 0.9925 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/1.24, allocations: 2.634 MB / 0.995 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01351/1.254, allocations: 2.808 MB / 0.9978 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01779/1.271, allocations: 11.37 MB / 1.009 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00673/1.278, allocations: 2.867 MB / 1.012 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01/1.288, allocations: 2.838 MB / 1.014 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007753/1.296, allocations: 2.678 MB / 1.017 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00157/1.298, allocations: 151.1 kB / 1.017 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009276/1.307, allocations: 1.591 MB / 1.019 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003112/1.31, allocations: 0.891 MB / 1.02 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003816/1.314, allocations: 0.7712 MB / 1.02 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01159/1.326, allocations: 5.226 MB / 1.025 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/1.326, allocations: 0 / 1.025 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.595e-06/1.326, allocations: 0 / 1.025 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003017/1.326, allocations: 0 / 1.025 GB, free: 4.242 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: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01255/1.339, allocations: 3.848 MB / 1.029 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.339, allocations: 14.78 kB / 1.029 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006343/1.345, allocations: 0.9572 MB / 1.03 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/1.356, allocations: 3.806 MB / 1.034 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/1.356, allocations: 183.6 kB / 1.034 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006721/1.357, allocations: 248 kB / 1.034 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006849/1.364, allocations: 3.207 MB / 1.037 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.08e-05/1.364, allocations: 7.844 kB / 1.037 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002631/1.364, allocations: 96 kB / 1.038 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/1.364, allocations: 100.4 kB / 1.038 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005287/1.37, allocations: 2.648 MB / 1.04 GB, free: 8.055 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.02766/1.397, allocations: 13.24 MB / 1.053 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/1.401, allocations: 2.163 MB / 1.055 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/1.403, allocations: 0.9475 MB / 1.056 GB, free: 7.078 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01362/1.417, allocations: 4.551 MB / 1.061 GB, free: 2.328 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001745/1.419, allocations: 0.9344 MB / 1.062 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001895/1.42, allocations: 178.4 kB / 1.062 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=130): time 6.602e-06/1.42, allocations: 0 / 1.062 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of matching and sorting (n=134): time 0.0139/1.434, allocations: 5.479 MB / 1.067 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/1.435, allocations: 141.8 kB / 1.067 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00486/1.439, allocations: 2.921 MB / 1.07 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003931/1.44, allocations: 65.69 kB / 1.07 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001865/1.442, allocations: 1.525 MB / 1.072 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006693/1.442, allocations: 482.1 kB / 1.072 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/1.443, allocations: 36 kB / 1.072 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002217/1.443, allocations: 385.9 kB / 1.072 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/1.445, allocations: 0.9916 MB / 1.073 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/1.447, allocations: 1.587 MB / 1.075 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/1.45, allocations: 1.22 MB / 1.076 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/1.45, allocations: 4 kB / 1.076 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008915/1.459, allocations: 3.399 MB / 1.08 GB, free: 14.49 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005469/1.459, allocations: 0.5468 MB / 1.08 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-05/1.459, allocations: 19.98 kB / 1.08 GB, free: 13.71 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006381/1.466, allocations: 1.187 MB / 1.081 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/1.468, allocations: 487.2 kB / 1.082 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005988/1.474, allocations: 3.143 MB / 1.085 GB, free: 8.738 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004761/1.479, allocations: 244.1 kB / 1.085 GB, free: 8.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005923/1.479, allocations: 104 kB / 1.085 GB, free: 8.398 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.479, allocations: 4 kB / 1.085 GB, free: 8.395 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00772/1.487, allocations: 3.049 MB / 1.088 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.053e-05/1.487, allocations: 19.94 kB / 1.088 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006484/1.494, allocations: 1.215 MB / 1.089 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/1.496, allocations: 451.3 kB / 1.09 GB, free: 3.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005688/1.502, allocations: 3.167 MB / 1.093 GB, free: 340 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00423/1.506, allocations: 220.4 kB / 1.093 GB, free: 120 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005507/1.506, allocations: 99.95 kB / 1.093 GB, free: 20 kB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.003535/1.51, allocations: 1.088 MB / 1.094 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/1.512, allocations: 304.2 kB / 1.094 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005927/1.517, allocations: 2.305 MB / 1.097 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/1.518, allocations: 20.11 kB / 1.097 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/1.518, allocations: 8 kB / 1.097 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003529/1.521, allocations: 1.986 MB / 1.099 GB, free: 10.18 MB / 0.8106 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.01323/1.534, allocations: 5.076 MB / 1.104 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/1.534, allocations: 4 kB / 1.104 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.536, allocations: 303.7 kB / 1.104 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009405/1.537, allocations: 264.9 kB / 1.104 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/1.537, allocations: 43.97 kB / 1.104 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008873/1.546, allocations: 8.668 MB / 1.113 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.546, allocations: 3.938 kB / 1.113 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007952/1.554, allocations: 3.206 MB / 1.116 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002639/1.557, allocations: 0.6063 MB / 1.116 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/1.558, allocations: 35.98 kB / 1.116 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/1.561, allocations: 166.8 kB / 1.117 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/1.561, allocations: 113 kB / 1.117 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/1.562, allocations: 71.94 kB / 1.117 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.005473/1.567, allocations: 1.971 MB / 1.119 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/1.567, allocations: 0 / 1.119 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00891/1.576, allocations: 1.597 MB / 1.12 GB, free: 3.129 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002883/1.579, allocations: 0.8617 MB / 1.121 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01327/1.592, allocations: 4.351 MB / 1.125 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/1.592, allocations: 0.5625 kB / 1.125 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002787/1.595, allocations: 1.589 MB / 1.127 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01096/1.606, allocations: 1.683 MB / 1.129 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/1.625, allocations: 7.776 MB / 1.136 GB, free: 2.945 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002731/1.627, allocations: 2.385 MB / 1.138 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.005593/1.633, allocations: 1.103 MB / 1.14 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009136/1.634, allocations: 247.2 kB / 1.14 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of SimCode: time 1.913e-06/1.634, allocations: 0 / 1.14 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.1366/1.771, allocations: 70.54 MB / 1.209 GB, free: 9.352 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) Environment - environmentSimulation: