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.084/2.084, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.0016/0.0016, allocations: 178.7 kB / 325.6 MB, free: 2.84 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.235/2.235, allocations: 205.4 MB / 0.5766 GB, free: 21.13 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.001157/0.001157, allocations: 102.1 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004593, allocations: 12.91 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.201, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.092/7.293, allocations: 2.204 GB / 3.103 GB, free: 244.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/7.293, allocations: 100 kB / 3.103 GB, free: 244.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.219/12.51, allocations: 1.007 GB / 4.111 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.375e-06/12.51, allocations: 0.9688 kB / 4.111 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002963/12.51, allocations: 51.45 kB / 4.111 GB, free: 121.1 MB / 0.8855 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.008609/12.52, allocations: 2.379 MB / 4.113 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/12.52, allocations: 8.656 kB / 4.113 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006527/12.53, allocations: 0.6182 MB / 4.114 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005458/12.53, allocations: 1.453 MB / 4.115 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006803/12.53, allocations: 158.2 kB / 4.115 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004214/12.53, allocations: 125.4 kB / 4.115 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00439/12.54, allocations: 1.476 MB / 4.117 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-05/12.54, allocations: 3.844 kB / 4.117 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/12.54, allocations: 48.47 kB / 4.117 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-05/12.54, allocations: 47.5 kB / 4.117 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004713/12.54, allocations: 1.249 MB / 4.118 GB, free: 119.7 MB / 0.8855 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.01328/12.56, allocations: 5.88 MB / 4.124 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/12.56, allocations: 1.151 MB / 4.125 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007799/12.56, allocations: 308.8 kB / 4.125 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002055/12.56, allocations: 0.6338 MB / 4.126 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=87): time 4.759e-06/12.56, allocations: 2.469 kB / 4.126 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.01956/12.58, allocations: 4.408 MB / 4.13 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/12.58, allocations: 195.8 kB / 4.13 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/12.59, allocations: 1.165 MB / 4.131 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003487/12.59, allocations: 49.05 kB / 4.132 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007983/12.59, allocations: 0.7301 MB / 4.132 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00047/12.59, allocations: 320.5 kB / 4.133 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/12.59, allocations: 22.38 kB / 4.133 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/12.59, allocations: 337.9 kB / 4.133 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/12.59, allocations: 488.3 kB / 4.133 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/12.59, allocations: 0.7105 MB / 4.134 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02027/12.61, allocations: 2.536 MB / 4.137 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/12.61, allocations: 2.75 kB / 4.137 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00833/12.62, allocations: 1.816 MB / 4.138 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003859/12.62, allocations: 1.296 MB / 4.14 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/12.62, allocations: 3.719 kB / 4.14 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/12.62, allocations: 459.7 kB / 4.14 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/12.62, allocations: 174.7 kB / 4.14 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/12.64, allocations: 7.159 MB / 4.147 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/12.64, allocations: 151.2 kB / 4.147 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/12.64, allocations: 42.8 kB / 4.147 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/12.64, allocations: 3.906 kB / 4.147 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007354/12.65, allocations: 1.661 MB / 4.149 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/12.65, allocations: 2.969 kB / 4.149 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/12.65, allocations: 447.8 kB / 4.149 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/12.65, allocations: 176.6 kB / 4.15 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/12.67, allocations: 8.184 MB / 4.158 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/12.67, allocations: 161.8 kB / 4.158 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/12.67, allocations: 38.75 kB / 4.158 GB, free: 102.8 MB / 0.8855 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. 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 () * Number of clocked 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.001513/12.67, allocations: 0.5047 MB / 4.158 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005722/12.67, allocations: 164.4 kB / 4.158 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007359/12.68, allocations: 1.689 MB / 4.16 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/12.68, allocations: 7.562 kB / 4.16 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/12.68, allocations: 0 / 4.16 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006548/12.69, allocations: 1.525 MB / 4.162 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/12.7, allocations: 3.545 MB / 4.165 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/12.7, allocations: 6.812 kB / 4.165 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001822/12.7, allocations: 188.5 kB / 4.165 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/12.7, allocations: 238 kB / 4.165 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/12.7, allocations: 32.33 kB / 4.165 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005742/12.71, allocations: 2.685 MB / 4.168 GB, free: 99.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/12.71, allocations: 6.375 kB / 4.168 GB, free: 99.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009401/12.72, allocations: 2.71 MB / 4.171 GB, free: 99 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/12.72, allocations: 367.1 kB / 4.171 GB, free: 98.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004593/12.72, allocations: 33.88 kB / 4.171 GB, free: 98.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002703/12.72, allocations: 137.1 kB / 4.171 GB, free: 98.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/12.72, allocations: 73.11 kB / 4.171 GB, free: 98.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/12.72, allocations: 43.56 kB / 4.171 GB, free: 98.82 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002201/12.72, allocations: 0.9154 MB / 4.172 GB, free: 98.71 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.71e-07/12.72, allocations: 3.25 kB / 4.172 GB, free: 98.71 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005423/12.73, allocations: 0.9944 MB / 4.173 GB, free: 98.69 MB / 0.8855 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.Xi[1],heaDyn.vol.dynBal.medium.T,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) * Number of clocked states: 0 () * 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.004615/12.73, allocations: 2.37 MB / 4.176 GB, free: 97.86 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008416/12.74, allocations: 2.942 MB / 4.178 GB, free: 96.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/12.74, allocations: 0 / 4.178 GB, free: 96.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0024/12.75, allocations: 0.8089 MB / 4.179 GB, free: 96.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007471/12.75, allocations: 0.8716 MB / 4.18 GB, free: 96.71 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/12.76, allocations: 3.953 MB / 4.184 GB, free: 95.08 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/12.77, allocations: 1.393 MB / 4.185 GB, free: 94.37 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002696/12.77, allocations: 341.4 kB / 4.186 GB, free: 94.35 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000658/12.77, allocations: 110.3 kB / 4.186 GB, free: 94.34 MB / 0.8855 GB Notification: Performance of SimCode: time 1.303e-06/12.77, allocations: 0 / 4.186 GB, free: 94.34 MB / 0.8855 GB Notification: Performance of Templates: time 0.1371/12.91, allocations: 62.04 MB / 4.246 GB, free: 91.85 MB / 0.8855 GB