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.267/2.267, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 181.6 kB / 325.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.335/2.335, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001173/0.001172, allocations: 106.3 kB / 0.6811 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000495/0.0004951, allocations: 12.66 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2003, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.207/1.408, allocations: 402.4 MB / 1.292 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/1.408, allocations: 103.4 kB / 1.292 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 14.83/16.24, allocations: 2.667 GB / 3.959 GB, free: 55.21 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.164e-06/16.24, allocations: 0 / 3.959 GB, free: 55.21 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.00121/16.24, allocations: 167.3 kB / 3.959 GB, free: 55.18 MB / 1.01 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.02888/16.27, allocations: 7.139 MB / 3.966 GB, free: 52.03 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/16.27, allocations: 10.06 kB / 3.966 GB, free: 52.03 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004752/16.27, allocations: 0.7794 MB / 3.967 GB, free: 51.65 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1833/16.46, allocations: 58.1 MB / 4.024 GB, free: 48.57 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004646/16.46, allocations: 318.4 kB / 4.024 GB, free: 48.55 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/16.46, allocations: 430.9 kB / 4.024 GB, free: 48.55 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/16.47, allocations: 4.239 MB / 4.029 GB, free: 47.77 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002239/16.47, allocations: 10.19 kB / 4.029 GB, free: 47.77 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/16.48, allocations: 170 kB / 4.029 GB, free: 47.77 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/16.48, allocations: 121.7 kB / 4.029 GB, free: 47.77 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/16.49, allocations: 2.9 MB / 4.032 GB, free: 47.74 MB / 1.01 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.04124/16.53, allocations: 24.01 MB / 4.055 GB, free: 33.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004908/16.53, allocations: 2.949 MB / 4.058 GB, free: 32.32 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003463/16.54, allocations: 3.937 MB / 4.062 GB, free: 27.91 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.456e-05/16.54, allocations: 65.11 kB / 4.062 GB, free: 27.87 MB / 1.01 GB Notification: Performance of pre-optimization done (n=225): time 5.07e-06/16.54, allocations: 1.75 kB / 4.062 GB, free: 27.87 MB / 1.01 GB Notification: Performance of matching and sorting (n=225): time 0.01565/16.55, allocations: 4.103 MB / 4.066 GB, free: 27.09 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/16.55, allocations: 76.12 kB / 4.066 GB, free: 27.02 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/16.56, allocations: 3.661 MB / 4.07 GB, free: 26.71 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006895/16.56, allocations: 79.23 kB / 4.07 GB, free: 26.68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003187/16.57, allocations: 2.773 MB / 4.072 GB, free: 25.82 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/16.57, allocations: 0.7879 MB / 4.073 GB, free: 25.3 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/16.57, allocations: 51.56 kB / 4.073 GB, free: 25.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001868/16.57, allocations: 411.1 kB / 4.074 GB, free: 25 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/16.57, allocations: 0.8062 MB / 4.074 GB, free: 24.99 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/16.57, allocations: 1.811 MB / 4.076 GB, free: 23.83 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003106/16.58, allocations: 1.089 MB / 4.077 GB, free: 23.8 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.319e-05/16.58, allocations: 9.312 kB / 4.077 GB, free: 23.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01077/16.59, allocations: 3.362 MB / 4.081 GB, free: 23.41 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.003327/16.59, allocations: 10.35 MB / 4.091 GB, free: 28.65 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.001e-05/16.59, allocations: 24.86 kB / 4.091 GB, free: 28.65 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/16.59, allocations: 405.5 kB / 4.091 GB, free: 28.62 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/16.6, allocations: 0.5237 MB / 4.092 GB, free: 28.61 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/16.6, allocations: 2.693 MB / 4.094 GB, free: 26.52 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008568/16.61, allocations: 0.5624 MB / 4.095 GB, free: 26.38 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007722/16.61, allocations: 133.8 kB / 4.095 GB, free: 26.38 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/16.61, allocations: 3.5 kB / 4.095 GB, free: 26.38 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00857/16.62, allocations: 2.807 MB / 4.098 GB, free: 26.28 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.382e-05/16.62, allocations: 21.47 kB / 4.098 GB, free: 26.28 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/16.62, allocations: 383.2 kB / 4.098 GB, free: 26.25 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/16.62, allocations: 0.5258 MB / 4.098 GB, free: 26.25 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/16.64, allocations: 7.798 MB / 4.106 GB, free: 20.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008106/16.64, allocations: 0.5311 MB / 4.107 GB, free: 20.48 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007088/16.65, allocations: 123.8 kB / 4.107 GB, free: 20.48 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 () * Number of clocked 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.003861/16.65, allocations: 0.9908 MB / 4.108 GB, free: 20.28 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00189/16.65, allocations: 0.5067 MB / 4.108 GB, free: 20.02 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/16.66, allocations: 3.787 MB / 4.112 GB, free: 19.71 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001105/16.66, allocations: 44.89 kB / 4.112 GB, free: 19.71 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/16.66, allocations: 0 / 4.112 GB, free: 19.71 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007454/16.67, allocations: 2.612 MB / 4.114 GB, free: 19.47 MB / 1.026 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.02526/16.7, allocations: 8.535 MB / 4.123 GB, free: 17.89 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/16.7, allocations: 7.219 kB / 4.123 GB, free: 17.89 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00308/16.7, allocations: 377.7 kB / 4.123 GB, free: 17.87 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/16.7, allocations: 311.8 kB / 4.123 GB, free: 17.82 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004492/16.7, allocations: 68.34 kB / 4.124 GB, free: 17.81 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/16.7, allocations: 2.499 MB / 4.126 GB, free: 15.71 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/16.7, allocations: 0 / 4.126 GB, free: 15.71 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/16.72, allocations: 4.763 MB / 4.131 GB, free: 14.89 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004228/16.72, allocations: 0.9767 MB / 4.132 GB, free: 14.48 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001842/16.72, allocations: 44.38 kB / 4.132 GB, free: 14.48 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007316/16.73, allocations: 446.9 kB / 4.132 GB, free: 14.45 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006407/16.73, allocations: 150.5 kB / 4.132 GB, free: 14.44 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003891/16.73, allocations: 106.6 kB / 4.132 GB, free: 14.44 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.007907/16.74, allocations: 2.796 MB / 4.135 GB, free: 14.26 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.132e-06/16.74, allocations: 5.625 kB / 4.135 GB, free: 14.26 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0195/16.76, allocations: 3.585 MB / 4.139 GB, free: 13.73 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 () * Number of clocked 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.008424/16.77, allocations: 3.421 MB / 4.142 GB, free: 12.25 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01194/16.78, allocations: 4.444 MB / 4.146 GB, free: 11.5 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/16.78, allocations: 3.25 kB / 4.146 GB, free: 11.5 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004002/16.78, allocations: 1.327 MB / 4.148 GB, free: 11.43 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02422/16.81, allocations: 2.735 MB / 4.15 GB, free: 11.25 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02526/16.83, allocations: 11.14 MB / 4.161 GB, free: 5.66 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005164/16.84, allocations: 2.987 MB / 4.164 GB, free: 4.789 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.008385/16.85, allocations: 1.195 MB / 4.165 GB, free: 4.531 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002051/16.85, allocations: 421.2 kB / 4.166 GB, free: 4.516 MB / 1.026 GB Notification: Performance of SimCode: time 8.12e-07/16.85, allocations: 0 / 4.166 GB, free: 4.516 MB / 1.026 GB Notification: Performance of Templates: time 0.3445/17.19, allocations: 119.3 MB / 4.282 GB, free: 2.582 MB / 1.057 GB