Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.498/2.498, allocations: 287.5 MB / 303.2 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001325/0.001325, allocations: 179.1 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009587/0.0009581, allocations: 96.45 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004583, allocations: 10.69 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2041, allocations: 115.3 MB / 0.9793 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.289/6.493, allocations: 2.086 GB / 3.065 GB, free: 212.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/6.493, allocations: 95.95 kB / 3.065 GB, free: 212.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.295/11.79, allocations: 1.026 GB / 4.091 GB, free: 152.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.836e-06/11.79, allocations: 0 / 4.091 GB, free: 152.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000277/11.79, allocations: 39.69 kB / 4.091 GB, free: 152.9 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.008062/11.8, allocations: 2.362 MB / 4.094 GB, free: 151.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/11.8, allocations: 9.406 kB / 4.094 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006266/11.8, allocations: 0.6255 MB / 4.094 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005366/11.81, allocations: 1.504 MB / 4.096 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006389/11.81, allocations: 158.5 kB / 4.096 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003579/11.81, allocations: 123.5 kB / 4.096 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004204/11.81, allocations: 1.477 MB / 4.097 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.878e-05/11.81, allocations: 0 / 4.097 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/11.81, allocations: 48 kB / 4.097 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/11.81, allocations: 44.56 kB / 4.097 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004415/11.82, allocations: 1.252 MB / 4.099 GB, free: 151.1 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.01381/11.83, allocations: 5.872 MB / 4.104 GB, free: 148.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/11.84, allocations: 1.17 MB / 4.106 GB, free: 148.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/11.84, allocations: 0.5813 MB / 4.106 GB, free: 148.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000757/11.84, allocations: 310.5 kB / 4.106 GB, free: 148.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001982/11.84, allocations: 0.6386 MB / 4.107 GB, free: 148.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 4.488e-06/11.84, allocations: 0 / 4.107 GB, free: 148.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01939/11.86, allocations: 4.369 MB / 4.111 GB, free: 147.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/11.86, allocations: 195.5 kB / 4.111 GB, free: 147 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/11.86, allocations: 1.336 MB / 4.113 GB, free: 146.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000314/11.86, allocations: 49.67 kB / 4.113 GB, free: 146.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007403/11.86, allocations: 0.7183 MB / 4.113 GB, free: 146.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/11.86, allocations: 320.4 kB / 4.114 GB, free: 146.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.86e-05/11.87, allocations: 16.88 kB / 4.114 GB, free: 146.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/11.87, allocations: 349.2 kB / 4.114 GB, free: 146.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/11.87, allocations: 482.5 kB / 4.115 GB, free: 146.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/11.87, allocations: 0.7117 MB / 4.115 GB, free: 145.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02476/11.89, allocations: 3.681 MB / 4.119 GB, free: 145.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/11.89, allocations: 2.719 kB / 4.119 GB, free: 145.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0128/11.91, allocations: 1.838 MB / 4.121 GB, free: 145.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002045/11.91, allocations: 223.2 kB / 4.121 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/11.91, allocations: 2.781 kB / 4.121 GB, free: 145.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002895/11.91, allocations: 474.1 kB / 4.121 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/11.91, allocations: 173.3 kB / 4.122 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/11.92, allocations: 7.141 MB / 4.129 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/11.93, allocations: 153.8 kB / 4.129 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/11.93, allocations: 37.53 kB / 4.129 GB, free: 140.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/11.93, allocations: 3.875 kB / 4.129 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00686/11.93, allocations: 1.671 MB / 4.13 GB, free: 140.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/11.93, allocations: 12.97 kB / 4.13 GB, free: 140.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/11.94, allocations: 446.4 kB / 4.131 GB, free: 140.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/11.94, allocations: 172.7 kB / 4.131 GB, free: 140.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/11.95, allocations: 8.134 MB / 4.139 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/11.95, allocations: 151.5 kB / 4.139 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/11.95, allocations: 41.48 kB / 4.139 GB, free: 135.1 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.001276/11.95, allocations: 0.5058 MB / 4.14 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/11.96, allocations: 170.2 kB / 4.14 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006773/11.96, allocations: 1.677 MB / 4.141 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/11.96, allocations: 11.03 kB / 4.141 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/11.96, allocations: 6.156 kB / 4.141 GB, free: 134.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006168/11.97, allocations: 1.539 MB / 4.143 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/11.98, allocations: 3.551 MB / 4.146 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/11.98, allocations: 6.344 kB / 4.146 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/11.98, allocations: 192.6 kB / 4.147 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/11.98, allocations: 239.8 kB / 4.147 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/11.98, allocations: 35.78 kB / 4.147 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00532/11.99, allocations: 2.667 MB / 4.149 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/11.99, allocations: 11.69 kB / 4.149 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008789/12, allocations: 2.467 MB / 4.152 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/12, allocations: 358.9 kB / 4.152 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000479/12, allocations: 29.38 kB / 4.152 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/12, allocations: 140.6 kB / 4.152 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/12, allocations: 68.25 kB / 4.152 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/12, allocations: 42 kB / 4.152 GB, free: 131.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001969/12, allocations: 0.9157 MB / 4.153 GB, free: 131.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.41e-07/12, allocations: 0 / 4.153 GB, free: 131.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005176/12.01, allocations: 0.9713 MB / 4.154 GB, free: 131.2 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.004221/12.01, allocations: 2.328 MB / 4.157 GB, free: 130.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009723/12.02, allocations: 3.127 MB / 4.16 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/12.02, allocations: 3.609 kB / 4.16 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002276/12.03, allocations: 0.8004 MB / 4.16 GB, free: 129.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008573/12.03, allocations: 0.8624 MB / 4.161 GB, free: 129.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/12.04, allocations: 3.957 MB / 4.165 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/12.05, allocations: 1.353 MB / 4.166 GB, free: 126.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002546/12.05, allocations: 342.1 kB / 4.167 GB, free: 126.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005217/12.05, allocations: 111 kB / 4.167 GB, free: 126.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.412e-06/12.05, allocations: 0 / 4.167 GB, free: 126.9 MB / 0.948 GB Notification: Performance of Templates: time 0.1351/12.18, allocations: 60.81 MB / 4.226 GB, free: 104.7 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)