Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003371/0.003371, allocations: 361 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.436/1.436, allocations: 165.8 MB / 183.1 MB, free: 5.43 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.736/3.736, allocations: 410.7 MB / 0.6001 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001802/0.001801, allocations: 190.2 kB / 0.6668 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004649, allocations: 15.98 kB / 0.7429 GB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4008, allocations: 67.44 MB / 0.8087 GB, free: 28.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.574/6.975, allocations: 2.305 GB / 3.114 GB, free: 4.664 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/6.975, allocations: 111 kB / 3.114 GB, free: 4.605 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.506/13.48, allocations: 1.225 GB / 4.339 GB, free: 46.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.567e-06/13.48, allocations: 1.781 kB / 4.339 GB, free: 46.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0006388/13.48, allocations: 87.06 kB / 4.339 GB, free: 46.8 MB / 0.6198 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.01414/13.5, allocations: 4.317 MB / 4.344 GB, free: 44.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/13.5, allocations: 9.125 kB / 4.344 GB, free: 44.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003884/13.5, allocations: 0.533 MB / 4.344 GB, free: 44.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/13.51, allocations: 3.377 MB / 4.347 GB, free: 43.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/13.51, allocations: 164.3 kB / 4.348 GB, free: 43.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008339/13.51, allocations: 218.5 kB / 4.348 GB, free: 43.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007704/13.52, allocations: 2.594 MB / 4.35 GB, free: 43.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.213e-05/13.52, allocations: 10.53 kB / 4.35 GB, free: 43.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003424/13.52, allocations: 90.12 kB / 4.35 GB, free: 43.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.396e-05/13.52, allocations: 70.86 kB / 4.351 GB, free: 43.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006313/13.53, allocations: 2.031 MB / 4.353 GB, free: 43.39 MB / 0.6198 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.02362/13.55, allocations: 10.45 MB / 4.363 GB, free: 40 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/13.55, allocations: 1.625 MB / 4.364 GB, free: 39.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002407/13.56, allocations: 1.037 MB / 4.365 GB, free: 39.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/13.56, allocations: 1.184 MB / 4.366 GB, free: 38.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/13.56, allocations: 52.03 kB / 4.367 GB, free: 38.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=128): time 4.037e-06/13.56, allocations: 0 / 4.367 GB, free: 38.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=136): time 0.01779/13.58, allocations: 6.341 MB / 4.373 GB, free: 36.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/13.58, allocations: 343.3 kB / 4.373 GB, free: 36.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00802/13.58, allocations: 3.393 MB / 4.376 GB, free: 36.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000564/13.59, allocations: 61.83 kB / 4.376 GB, free: 36.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001978/13.59, allocations: 1.464 MB / 4.378 GB, free: 35.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007838/13.59, allocations: 466.7 kB / 4.378 GB, free: 35.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/13.59, allocations: 30.12 kB / 4.378 GB, free: 35.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001395/13.59, allocations: 367.6 kB / 4.379 GB, free: 35.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/13.59, allocations: 1.078 MB / 4.38 GB, free: 35.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/13.59, allocations: 1.528 MB / 4.381 GB, free: 34.91 MB / 0.6198 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.01287/13.61, allocations: 4.292 MB / 4.385 GB, free: 34.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/13.61, allocations: 3.188 kB / 4.385 GB, free: 34.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00826/13.62, allocations: 3.333 MB / 4.389 GB, free: 33.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004044/13.62, allocations: 0.6397 MB / 4.389 GB, free: 32.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/13.62, allocations: 3.719 kB / 4.389 GB, free: 32.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006963/13.62, allocations: 157.4 kB / 4.389 GB, free: 32.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/13.62, allocations: 260.1 kB / 4.39 GB, free: 32.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/13.62, allocations: 1.286 MB / 4.391 GB, free: 31.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004483/13.62, allocations: 198 kB / 4.391 GB, free: 31.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006169/13.63, allocations: 86.44 kB / 4.391 GB, free: 31.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/13.63, allocations: 10.8 kB / 4.391 GB, free: 31.65 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007363/13.63, allocations: 3.417 MB / 4.395 GB, free: 31.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/13.63, allocations: 9.578 kB / 4.395 GB, free: 31.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/13.63, allocations: 143.7 kB / 4.395 GB, free: 31.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/13.64, allocations: 260.8 kB / 4.395 GB, free: 31.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/13.64, allocations: 1.3 MB / 4.396 GB, free: 30.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004575/13.64, allocations: 193.1 kB / 4.396 GB, free: 30.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005854/13.64, allocations: 80.88 kB / 4.396 GB, free: 30.15 MB / 0.6198 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.003309/13.64, allocations: 1.116 MB / 4.398 GB, free: 29.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/13.65, allocations: 328.6 kB / 4.398 GB, free: 29.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006432/13.65, allocations: 2.607 MB / 4.4 GB, free: 29.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/13.65, allocations: 17.86 kB / 4.4 GB, free: 29.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/13.65, allocations: 3.953 kB / 4.4 GB, free: 29.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0049/13.66, allocations: 2.304 MB / 4.403 GB, free: 28.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/13.67, allocations: 5.974 MB / 4.409 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/13.67, allocations: 9.562 kB / 4.409 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002171/13.67, allocations: 257.5 kB / 4.409 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.301e-05/13.67, allocations: 17.64 kB / 4.409 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002398/13.68, allocations: 44.81 kB / 4.409 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.61e-05/13.68, allocations: 13.66 kB / 4.409 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/13.68, allocations: 13.06 kB / 4.409 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008832/13.68, allocations: 4.124 MB / 4.413 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002627/13.69, allocations: 0.7027 MB / 4.414 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/13.69, allocations: 50.61 kB / 4.414 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003804/13.69, allocations: 167.6 kB / 4.414 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006401/13.69, allocations: 163.4 kB / 4.414 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/13.69, allocations: 56.69 kB / 4.414 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.006475/13.7, allocations: 2.348 MB / 4.416 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.01e-07/13.7, allocations: 0 / 4.416 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.007613/13.71, allocations: 1.47 MB / 4.418 GB, free: 25.66 MB / 0.6198 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.005574/13.71, allocations: 2.806 MB / 4.42 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0107/13.72, allocations: 5.621 MB / 4.426 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/13.72, allocations: 1.969 kB / 4.426 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003824/13.73, allocations: 1.935 MB / 4.428 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01384/13.74, allocations: 1.651 MB / 4.429 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/13.76, allocations: 7.397 MB / 4.437 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00307/13.76, allocations: 2.148 MB / 4.439 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.004752/13.77, allocations: 0.6454 MB / 4.439 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/13.77, allocations: 208.5 kB / 4.44 GB, free: 15 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/13.77, allocations: 0 / 4.44 GB, free: 15 MB / 0.6198 GB Notification: Performance of Templates: time 0.7344/14.5, allocations: 89.47 MB / 4.527 GB, free: 43.25 MB / 0.6355 GB