Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.278/2.278, allocations: 252.6 MB / 265.2 MB, free: 5.664 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001447/0.001446, allocations: 171.9 kB / 324.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 0.5754 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 98.27 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.216e-05, allocations: 7.938 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1886, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.851/2.04, allocations: 402.3 MB / 1.288 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/2.04, allocations: 90.77 kB / 1.288 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 14.27/16.31, allocations: 2.659 GB / 3.946 GB, free: 46.15 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.344e-06/16.31, allocations: 0 / 3.946 GB, free: 46.15 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001135/16.31, allocations: 166.7 kB / 3.947 GB, free: 46.12 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01933/16.33, allocations: 5.909 MB / 3.952 GB, free: 43.06 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/16.33, allocations: 10.12 kB / 3.952 GB, free: 43.06 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004855/16.34, allocations: 0.7757 MB / 3.953 GB, free: 42.69 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1826/16.52, allocations: 57.8 MB / 4.01 GB, free: 36.11 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004465/16.52, allocations: 316.7 kB / 4.01 GB, free: 35.97 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/16.52, allocations: 428.6 kB / 4.01 GB, free: 35.83 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/16.54, allocations: 4.149 MB / 4.014 GB, free: 33.63 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001971/16.54, allocations: 18.75 kB / 4.014 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009989/16.54, allocations: 171.4 kB / 4.014 GB, free: 33.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/16.54, allocations: 118.5 kB / 4.015 GB, free: 33.49 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009905/16.55, allocations: 2.79 MB / 4.017 GB, free: 32.39 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.04161/16.59, allocations: 24 MB / 4.041 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005178/16.59, allocations: 2.9 MB / 4.044 GB, free: 8.156 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003022/16.6, allocations: 1.054 MB / 4.045 GB, free: 7.105 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003716/16.6, allocations: 3.943 MB / 4.048 GB, free: 2.297 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.634e-05/16.6, allocations: 64.25 kB / 4.049 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=225): time 6.021e-06/16.6, allocations: 0 / 4.049 GB, free: 2.227 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225): time 0.009253/16.61, allocations: 2.555 MB / 4.051 GB, free: 15.64 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/16.61, allocations: 77.41 kB / 4.051 GB, free: 15.56 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/16.62, allocations: 3.591 MB / 4.055 GB, free: 11.99 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007477/16.62, allocations: 74.91 kB / 4.055 GB, free: 11.91 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004282/16.63, allocations: 2.774 MB / 4.057 GB, free: 9.109 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001648/16.63, allocations: 0.7894 MB / 4.058 GB, free: 8.309 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/16.63, allocations: 56 kB / 4.058 GB, free: 8.254 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002981/16.63, allocations: 411.4 kB / 4.059 GB, free: 7.848 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/16.63, allocations: 0.759 MB / 4.059 GB, free: 7.086 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003808/16.64, allocations: 1.775 MB / 4.061 GB, free: 4.863 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/16.64, allocations: 1.072 MB / 4.062 GB, free: 3.793 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.51e-05/16.64, allocations: 8 kB / 4.062 GB, free: 3.785 MB / 1.01 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.0118/16.65, allocations: 3.28 MB / 4.065 GB, free: 492 kB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.004798/16.66, allocations: 10.35 MB / 4.075 GB, free: 5.41 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.544e-05/16.66, allocations: 20 kB / 4.075 GB, free: 5.391 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/16.66, allocations: 406.8 kB / 4.076 GB, free: 4.98 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/16.66, allocations: 0.5187 MB / 4.076 GB, free: 4.461 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/16.66, allocations: 2.681 MB / 4.079 GB, free: 1.68 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00864/16.67, allocations: 0.5634 MB / 4.08 GB, free: 1.113 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007967/16.67, allocations: 136 kB / 4.08 GB, free: 0.9805 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/16.67, allocations: 4 kB / 4.08 GB, free: 0.9766 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9309/17.61, allocations: 2.727 MB / 4.082 GB, free: 77.52 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.253e-05/17.61, allocations: 21.84 kB / 4.082 GB, free: 77.52 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/17.61, allocations: 378.4 kB / 4.083 GB, free: 77.48 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003744/17.61, allocations: 0.5262 MB / 4.083 GB, free: 77.48 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/17.62, allocations: 7.689 MB / 4.091 GB, free: 71.95 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008629/17.63, allocations: 0.5227 MB / 4.091 GB, free: 71.95 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008525/17.63, allocations: 125.9 kB / 4.091 GB, free: 71.95 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009353/17.63, allocations: 285.8 kB / 4.092 GB, free: 71.84 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002234/17.64, allocations: 0.5014 MB / 4.092 GB, free: 71.84 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/17.65, allocations: 3.721 MB / 4.096 GB, free: 71.6 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001259/17.65, allocations: 36.59 kB / 4.096 GB, free: 71.6 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/17.65, allocations: 3.953 kB / 4.096 GB, free: 71.6 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00814/17.66, allocations: 2.533 MB / 4.098 GB, free: 71.4 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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.02765/17.69, allocations: 8.471 MB / 4.107 GB, free: 69.94 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.293e-05/17.69, allocations: 3 kB / 4.107 GB, free: 69.94 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003496/17.69, allocations: 382.6 kB / 4.107 GB, free: 69.94 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/17.69, allocations: 309.2 kB / 4.107 GB, free: 69.9 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000596/17.69, allocations: 63.08 kB / 4.107 GB, free: 69.9 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/17.69, allocations: 2.485 MB / 4.11 GB, free: 67.82 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/17.69, allocations: 3.641 kB / 4.11 GB, free: 67.82 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/17.71, allocations: 4.665 MB / 4.114 GB, free: 67.05 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00495/17.71, allocations: 0.9811 MB / 4.115 GB, free: 66.68 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002137/17.72, allocations: 44.25 kB / 4.115 GB, free: 66.68 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008036/17.73, allocations: 437.4 kB / 4.116 GB, free: 66.66 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007857/17.73, allocations: 156.2 kB / 4.116 GB, free: 66.66 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004568/17.73, allocations: 106.9 kB / 4.116 GB, free: 66.66 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.009716/17.74, allocations: 2.725 MB / 4.119 GB, free: 66.45 MB / 1.026 GB Notification: Performance of sort global known variables: time 9.11e-07/17.74, allocations: 0.5 kB / 4.119 GB, free: 66.45 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02216/17.76, allocations: 3.596 MB / 4.122 GB, free: 66.27 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008974/17.77, allocations: 3.411 MB / 4.125 GB, free: 65.08 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01241/17.78, allocations: 4.501 MB / 4.13 GB, free: 64.49 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/17.78, allocations: 0 / 4.13 GB, free: 64.49 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.003888/17.78, allocations: 1.283 MB / 4.131 GB, free: 64.47 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02495/17.81, allocations: 2.74 MB / 4.134 GB, free: 64.45 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02942/17.84, allocations: 7.273 MB / 4.141 GB, free: 62.52 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006726/17.85, allocations: 3 MB / 4.144 GB, free: 61.72 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01739/17.86, allocations: 1.496 MB / 4.145 GB, free: 61.67 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001696/17.86, allocations: 320.1 kB / 4.146 GB, free: 61.67 MB / 1.026 GB Notification: Performance of SimCode: time 1.353e-06/17.86, allocations: 0 / 4.146 GB, free: 61.67 MB / 1.026 GB Notification: Performance of Templates: time 0.3381/18.2, allocations: 132.4 MB / 4.275 GB, free: 52.48 MB / 1.026 GB