Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.216/2.216, allocations: 253.1 MB / 260.6 MB, free: 7.543 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.001515/0.001515, allocations: 172.9 kB / 319.9 MB, free: 3.082 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.036/2.036, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001163/0.001162, allocations: 85.34 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.693e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.218, allocations: 106.2 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.018/7.236, allocations: 2.204 GB / 3.093 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/7.236, allocations: 95.31 kB / 3.093 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.121/12.36, allocations: 0.9953 GB / 4.088 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.823e-06/12.36, allocations: 0 / 4.088 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000259/12.36, allocations: 47.28 kB / 4.089 GB, free: 124.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006481/12.36, allocations: 2.064 MB / 4.091 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/12.36, allocations: 16.03 kB / 4.091 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006138/12.37, allocations: 0.6101 MB / 4.091 GB, free: 122 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005258/12.38, allocations: 1.434 MB / 4.093 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006404/12.38, allocations: 118.2 kB / 4.093 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004282/12.38, allocations: 79.91 kB / 4.093 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002909/12.38, allocations: 0.9846 MB / 4.094 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003068/12.38, allocations: 1.192 MB / 4.095 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.352e-05/12.38, allocations: 0.8594 kB / 4.095 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/12.38, allocations: 4 kB / 4.095 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/12.38, allocations: 38.23 kB / 4.095 GB, free: 118.1 MB / 0.8698 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.01271/12.4, allocations: 5.623 MB / 4.1 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/12.4, allocations: 0.9387 MB / 4.101 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009709/12.4, allocations: 459.1 kB / 4.102 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007506/12.4, allocations: 308.6 kB / 4.102 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/12.4, allocations: 0.5208 MB / 4.103 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=87): time 4.178e-06/12.4, allocations: 0 / 4.103 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.01189/12.41, allocations: 2.969 MB / 4.105 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/12.41, allocations: 196.6 kB / 4.106 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/12.41, allocations: 0.9174 MB / 4.107 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003262/12.41, allocations: 29.7 kB / 4.107 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007702/12.42, allocations: 0.7388 MB / 4.107 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004175/12.42, allocations: 311.4 kB / 4.108 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/12.42, allocations: 0 / 4.108 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/12.42, allocations: 345.9 kB / 4.108 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008241/12.42, allocations: 366.5 kB / 4.108 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/12.42, allocations: 0.5819 MB / 4.109 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006386/12.42, allocations: 1.339 MB / 4.11 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/12.42, allocations: 0 / 4.11 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006543/12.43, allocations: 1.598 MB / 4.112 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003088/12.43, allocations: 1.294 MB / 4.113 GB, free: 98.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/12.43, allocations: 7.984 kB / 4.113 GB, free: 98.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/12.43, allocations: 415 kB / 4.113 GB, free: 98.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/12.43, allocations: 171.7 kB / 4.114 GB, free: 98.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00936/12.44, allocations: 6.504 MB / 4.12 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/12.45, allocations: 119.9 kB / 4.12 GB, free: 91.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/12.45, allocations: 40.17 kB / 4.12 GB, free: 91.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/12.45, allocations: 4 kB / 4.12 GB, free: 91.32 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006413/12.45, allocations: 1.435 MB / 4.121 GB, free: 89.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/12.45, allocations: 8 kB / 4.121 GB, free: 89.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/12.46, allocations: 409.5 kB / 4.122 GB, free: 89.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/12.46, allocations: 171.8 kB / 4.122 GB, free: 89.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/12.47, allocations: 7.438 MB / 4.129 GB, free: 81.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/12.47, allocations: 119.9 kB / 4.129 GB, free: 81.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/12.47, allocations: 39.98 kB / 4.129 GB, free: 81.22 MB / 0.8698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * 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 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004651/12.47, allocations: 165.4 kB / 4.13 GB, free: 81.05 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004364/12.47, allocations: 158.1 kB / 4.13 GB, free: 80.89 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00542/12.48, allocations: 1.398 MB / 4.131 GB, free: 79.47 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/12.48, allocations: 11.95 kB / 4.131 GB, free: 79.46 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/12.48, allocations: 0 / 4.131 GB, free: 79.46 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004794/12.48, allocations: 1.266 MB / 4.132 GB, free: 78.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009848/12.49, allocations: 3.151 MB / 4.135 GB, free: 74.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/12.49, allocations: 4 kB / 4.135 GB, free: 74.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/12.49, allocations: 192.3 kB / 4.136 GB, free: 74.72 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006556/12.49, allocations: 189.3 kB / 4.136 GB, free: 74.54 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/12.49, allocations: 19.98 kB / 4.136 GB, free: 74.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00369/12.5, allocations: 2.41 MB / 4.138 GB, free: 71.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/12.5, allocations: 4.25 kB / 4.138 GB, free: 71.97 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006697/12.5, allocations: 2.32 MB / 4.14 GB, free: 69.45 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/12.51, allocations: 347.2 kB / 4.141 GB, free: 69.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003867/12.51, allocations: 16 kB / 4.141 GB, free: 69.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002398/12.51, allocations: 131.7 kB / 4.141 GB, free: 68.95 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/12.51, allocations: 72.39 kB / 4.141 GB, free: 68.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/12.51, allocations: 43.97 kB / 4.141 GB, free: 68.84 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001417/12.51, allocations: 0.703 MB / 4.142 GB, free: 68.14 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.61e-07/12.51, allocations: 0 / 4.142 GB, free: 68.14 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006144/12.52, allocations: 0.9416 MB / 4.143 GB, free: 67.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004596/12.52, allocations: 2.625 MB / 4.145 GB, free: 64.77 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005073/12.53, allocations: 2.551 MB / 4.148 GB, free: 62.12 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/12.53, allocations: 4 kB / 4.148 GB, free: 62.12 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/12.53, allocations: 0.6687 MB / 4.148 GB, free: 61.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006373/12.53, allocations: 0.7325 MB / 4.149 GB, free: 60.72 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00832/12.54, allocations: 2.54 MB / 4.152 GB, free: 58.11 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/12.54, allocations: 1.393 MB / 4.153 GB, free: 56.69 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003503/12.55, allocations: 427 kB / 4.153 GB, free: 56.29 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/12.55, allocations: 83.42 kB / 4.153 GB, free: 56.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/12.55, allocations: 0 / 4.153 GB, free: 56.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.109/12.66, allocations: 46.54 MB / 4.199 GB, free: 10.13 MB / 0.8698 GB