Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.545/2.545, allocations: 287.5 MB / 302.5 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 181 kB / 371 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 101.7 kB / 0.743 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004852, allocations: 12.03 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.592/6.799, allocations: 2.086 GB / 3.064 GB, free: 167.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/6.799, allocations: 97.33 kB / 3.064 GB, free: 167.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.52/12.32, allocations: 1.038 GB / 4.102 GB, free: 161.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.375e-06/12.32, allocations: 0 / 4.102 GB, free: 161.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002585/12.32, allocations: 48.67 kB / 4.102 GB, free: 161.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.008154/12.33, allocations: 2.383 MB / 4.104 GB, free: 160 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/12.33, allocations: 7.625 kB / 4.104 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00634/12.33, allocations: 0.6317 MB / 4.105 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00525/12.34, allocations: 1.439 MB / 4.106 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006662/12.34, allocations: 160.8 kB / 4.107 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004635/12.34, allocations: 122.4 kB / 4.107 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004604/12.34, allocations: 1.462 MB / 4.108 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.371e-05/12.34, allocations: 3.719 kB / 4.108 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/12.34, allocations: 46.03 kB / 4.108 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-05/12.34, allocations: 40.81 kB / 4.108 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004847/12.35, allocations: 1.25 MB / 4.109 GB, free: 159.2 MB / 0.948 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.01364/12.36, allocations: 5.883 MB / 4.115 GB, free: 156.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/12.37, allocations: 1.16 MB / 4.116 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007844/12.37, allocations: 315.9 kB / 4.117 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002093/12.37, allocations: 0.638 MB / 4.117 GB, free: 156.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 4.769e-06/12.37, allocations: 0 / 4.117 GB, free: 156.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01983/12.39, allocations: 4.413 MB / 4.122 GB, free: 155.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/12.39, allocations: 191.9 kB / 4.122 GB, free: 154.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/12.39, allocations: 1.168 MB / 4.123 GB, free: 154.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003404/12.39, allocations: 45.39 kB / 4.123 GB, free: 154.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007809/12.39, allocations: 0.7303 MB / 4.124 GB, free: 154.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004974/12.39, allocations: 324.7 kB / 4.124 GB, free: 154 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/12.39, allocations: 15.97 kB / 4.124 GB, free: 154 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/12.39, allocations: 341.7 kB / 4.124 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/12.4, allocations: 486.9 kB / 4.125 GB, free: 153.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/12.4, allocations: 0.7109 MB / 4.125 GB, free: 153.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02039/12.42, allocations: 2.552 MB / 4.128 GB, free: 152.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/12.42, allocations: 3.953 kB / 4.128 GB, free: 152.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007783/12.43, allocations: 1.829 MB / 4.13 GB, free: 152 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003531/12.43, allocations: 1.294 MB / 4.131 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/12.43, allocations: 3.5 kB / 4.131 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/12.43, allocations: 452.8 kB / 4.131 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/12.43, allocations: 172.3 kB / 4.132 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/12.44, allocations: 7.2 MB / 4.139 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/12.45, allocations: 158.4 kB / 4.139 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/12.45, allocations: 35.88 kB / 4.139 GB, free: 144.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/12.45, allocations: 3.812 kB / 4.139 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007046/12.45, allocations: 1.671 MB / 4.14 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/12.45, allocations: 3.688 kB / 4.14 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/12.46, allocations: 455.9 kB / 4.141 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/12.46, allocations: 169 kB / 4.141 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/12.47, allocations: 8.23 MB / 4.149 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/12.47, allocations: 147.6 kB / 4.149 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/12.47, allocations: 40.14 kB / 4.149 GB, free: 137.2 MB / 0.948 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.001348/12.47, allocations: 0.5125 MB / 4.15 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005203/12.47, allocations: 169.3 kB / 4.15 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007077/12.48, allocations: 1.677 MB / 4.152 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/12.48, allocations: 12.38 kB / 4.152 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/12.48, allocations: 3.953 kB / 4.152 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006402/12.49, allocations: 1.527 MB / 4.153 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/12.5, allocations: 3.544 MB / 4.157 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/12.5, allocations: 7.781 kB / 4.157 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/12.5, allocations: 194 kB / 4.157 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/12.5, allocations: 231.3 kB / 4.157 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/12.5, allocations: 34.23 kB / 4.157 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005667/12.51, allocations: 2.717 MB / 4.16 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/12.51, allocations: 7.391 kB / 4.16 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009315/12.52, allocations: 2.711 MB / 4.162 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/12.52, allocations: 362.3 kB / 4.163 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005036/12.52, allocations: 30.66 kB / 4.163 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002537/12.52, allocations: 149.9 kB / 4.163 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/12.52, allocations: 63.8 kB / 4.163 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/12.52, allocations: 37.25 kB / 4.163 GB, free: 130 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002041/12.53, allocations: 0.9145 MB / 4.164 GB, free: 129.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.993e-06/12.53, allocations: 0 / 4.164 GB, free: 129.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005624/12.53, allocations: 1.024 MB / 4.165 GB, free: 129.4 MB / 0.948 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.004608/12.54, allocations: 2.373 MB / 4.167 GB, free: 128.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008225/12.54, allocations: 2.967 MB / 4.17 GB, free: 126.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/12.54, allocations: 0 / 4.17 GB, free: 126.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002353/12.55, allocations: 0.8001 MB / 4.171 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007351/12.55, allocations: 0.8595 MB / 4.172 GB, free: 125.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/12.56, allocations: 3.948 MB / 4.175 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/12.57, allocations: 1.386 MB / 4.177 GB, free: 121 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0026/12.57, allocations: 342.3 kB / 4.177 GB, free: 120.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/12.57, allocations: 115.2 kB / 4.177 GB, free: 120.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/12.57, allocations: 0 / 4.177 GB, free: 120.6 MB / 0.948 GB Notification: Performance of Templates: time 0.1359/12.71, allocations: 62.08 MB / 4.238 GB, free: 61.22 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)