Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.977/4.977, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002571/0.002571, allocations: 354.2 kB / 0.6446 GB, free: 185.5 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.12/4.12, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001694/0.001694, allocations: 175.1 kB / 1.226 GB, free: 35.93 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.000494, allocations: 13.59 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2199, allocations: 115.3 MB / 1.461 GB, free: 6.559 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.869/8.089, allocations: 2.344 GB / 3.805 GB, free: 234 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003649/8.09, allocations: 110.2 kB / 3.805 GB, free: 233.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.156/14.25, allocations: 1.225 GB / 5.031 GB, free: 77.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.406e-06/14.25, allocations: 0 / 5.031 GB, free: 77.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006356/14.25, allocations: 93.06 kB / 5.031 GB, free: 77.41 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01491/14.26, allocations: 4.317 MB / 5.035 GB, free: 72.98 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/14.26, allocations: 14.16 kB / 5.035 GB, free: 72.97 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003924/14.27, allocations: 0.532 MB / 5.036 GB, free: 72.44 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/14.28, allocations: 3.374 MB / 5.039 GB, free: 69.09 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/14.28, allocations: 163.3 kB / 5.039 GB, free: 68.94 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006485/14.28, allocations: 221.5 kB / 5.039 GB, free: 68.72 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006979/14.28, allocations: 2.599 MB / 5.042 GB, free: 66.04 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-05/14.28, allocations: 4 kB / 5.042 GB, free: 66.04 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003288/14.28, allocations: 89.7 kB / 5.042 GB, free: 65.95 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.155e-05/14.28, allocations: 75.83 kB / 5.042 GB, free: 65.88 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006009/14.29, allocations: 2.02 MB / 5.044 GB, free: 63.86 MB / 0.9636 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.02188/14.31, allocations: 10.44 MB / 5.054 GB, free: 53.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003876/14.32, allocations: 1.634 MB / 5.056 GB, free: 51.52 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002291/14.32, allocations: 1.043 MB / 5.057 GB, free: 50.48 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/14.32, allocations: 1.182 MB / 5.058 GB, free: 49.05 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/14.32, allocations: 51.56 kB / 5.058 GB, free: 48.99 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=128): time 4.529e-06/14.32, allocations: 0 / 5.058 GB, free: 48.99 MB / 0.9636 GB Notification: Performance of matching and sorting (n=136): time 0.01719/14.34, allocations: 6.348 MB / 5.064 GB, free: 42.49 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/14.34, allocations: 341.7 kB / 5.064 GB, free: 42.09 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007518/14.35, allocations: 3.395 MB / 5.068 GB, free: 38.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005595/14.35, allocations: 61.7 kB / 5.068 GB, free: 38.64 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001634/14.35, allocations: 1.455 MB / 5.069 GB, free: 37.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007821/14.35, allocations: 468.2 kB / 5.07 GB, free: 36.72 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/14.35, allocations: 32 kB / 5.07 GB, free: 36.69 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000123/14.35, allocations: 361.9 kB / 5.07 GB, free: 36.33 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/14.35, allocations: 1.08 MB / 5.071 GB, free: 35.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/14.35, allocations: 1.53 MB / 5.073 GB, free: 33.58 MB / 0.9636 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01248/14.37, allocations: 4.289 MB / 5.077 GB, free: 29.17 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/14.37, allocations: 6.219 kB / 5.077 GB, free: 29.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.007581/14.37, allocations: 3.33 MB / 5.08 GB, free: 25.75 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003649/14.37, allocations: 0.6378 MB / 5.081 GB, free: 24.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/14.37, allocations: 4 kB / 5.081 GB, free: 24.96 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006851/14.38, allocations: 152.8 kB / 5.081 GB, free: 24.81 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/14.38, allocations: 267.6 kB / 5.081 GB, free: 24.55 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/14.38, allocations: 1.29 MB / 5.082 GB, free: 23.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/14.38, allocations: 197.5 kB / 5.082 GB, free: 23.03 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005024/14.38, allocations: 82.94 kB / 5.083 GB, free: 22.95 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/14.38, allocations: 4 kB / 5.083 GB, free: 22.95 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006816/14.39, allocations: 3.424 MB / 5.086 GB, free: 19.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/14.39, allocations: 7.953 kB / 5.086 GB, free: 19.45 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/14.39, allocations: 149.6 kB / 5.086 GB, free: 19.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/14.39, allocations: 262.9 kB / 5.086 GB, free: 19.05 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/14.39, allocations: 1.284 MB / 5.088 GB, free: 17.71 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00436/14.4, allocations: 205.5 kB / 5.088 GB, free: 17.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000471/14.4, allocations: 83.98 kB / 5.088 GB, free: 17.44 MB / 0.9636 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * 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: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.003223/14.4, allocations: 1.116 MB / 5.089 GB, free: 16.28 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/14.4, allocations: 324 kB / 5.089 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006044/14.41, allocations: 2.601 MB / 5.092 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/14.41, allocations: 23.98 kB / 5.092 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/14.41, allocations: 3.844 kB / 5.092 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004408/14.41, allocations: 2.307 MB / 5.094 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/14.43, allocations: 5.969 MB / 5.1 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/14.43, allocations: 8.719 kB / 5.1 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/14.43, allocations: 267.6 kB / 5.1 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.971e-05/14.43, allocations: 12 kB / 5.1 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/14.43, allocations: 47.94 kB / 5.1 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.447e-05/14.43, allocations: 8 kB / 5.1 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/14.43, allocations: 11.94 kB / 5.1 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008789/14.44, allocations: 4.126 MB / 5.104 GB, free: 188 kB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002788/14.44, allocations: 0.704 MB / 5.105 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001/14.44, allocations: 44 kB / 5.105 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003618/14.45, allocations: 171.5 kB / 5.105 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005742/14.45, allocations: 156.7 kB / 5.105 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/14.45, allocations: 59.97 kB / 5.105 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00676/14.45, allocations: 2.35 MB / 5.108 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.32e-07/14.45, allocations: 4 kB / 5.108 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007857/14.46, allocations: 1.468 MB / 5.109 GB, free: 11.23 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006234/14.47, allocations: 2.799 MB / 5.112 GB, free: 8.637 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01244/14.48, allocations: 5.612 MB / 5.117 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/14.48, allocations: 8.25 kB / 5.117 GB, free: 2.727 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004508/14.49, allocations: 1.928 MB / 5.119 GB, free: 0.7266 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0151/14.5, allocations: 1.648 MB / 5.121 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/14.52, allocations: 7.397 MB / 5.128 GB, free: 7.695 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003469/14.53, allocations: 2.149 MB / 5.13 GB, free: 5.523 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004867/14.53, allocations: 0.6377 MB / 5.131 GB, free: 4.93 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/14.53, allocations: 207.4 kB / 5.131 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of SimCode: time 1.212e-06/14.53, allocations: 0 / 5.131 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of Templates: time 1.019/15.55, allocations: 89.5 MB / 5.218 GB, free: 124.1 MB / 0.9948 GB