Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.528/2.528, allocations: 287.5 MB / 303.2 MB, free: 8.164 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.001414/0.001413, allocations: 188 kB / 371.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009041/0.0009039, allocations: 86.3 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006403/0.0006405, allocations: 13.48 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2024, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.36/1.562, allocations: 410.1 MB / 1.38 GB, free: 4.035 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/1.563, allocations: 97.83 kB / 1.38 GB, free: 3.984 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 13.95/15.52, allocations: 2.704 GB / 4.084 GB, free: 15.39 MB / 1.089 GB Notification: Performance of FrontEnd: time 1.983e-06/15.52, allocations: 0 / 4.084 GB, free: 15.39 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.001143/15.52, allocations: 178.7 kB / 4.084 GB, free: 15.22 MB / 1.089 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.03097/15.55, allocations: 7.079 MB / 4.091 GB, free: 8.062 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/15.55, allocations: 8.031 kB / 4.091 GB, free: 8.055 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/15.55, allocations: 0.7881 MB / 4.092 GB, free: 7.258 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.123/16.68, allocations: 56.53 MB / 4.147 GB, free: 63.46 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004921/16.68, allocations: 321.6 kB / 4.147 GB, free: 63.45 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001631/16.68, allocations: 429.2 kB / 4.148 GB, free: 63.45 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/16.69, allocations: 4.303 MB / 4.152 GB, free: 62.66 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000194/16.69, allocations: 14.09 kB / 4.152 GB, free: 62.66 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006907/16.69, allocations: 175 kB / 4.152 GB, free: 62.66 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/16.69, allocations: 126.2 kB / 4.152 GB, free: 62.66 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/16.7, allocations: 2.9 MB / 4.155 GB, free: 62.63 MB / 1.089 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.03987/16.74, allocations: 24 MB / 4.178 GB, free: 48.59 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/16.75, allocations: 2.952 MB / 4.181 GB, free: 47.41 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/16.75, allocations: 1.079 MB / 4.182 GB, free: 47.4 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003317/16.75, allocations: 3.938 MB / 4.186 GB, free: 42.99 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.889e-05/16.75, allocations: 63.31 kB / 4.186 GB, free: 42.95 MB / 1.089 GB Notification: Performance of pre-optimization done (n=225): time 6.592e-06/16.75, allocations: 0 / 4.186 GB, free: 42.95 MB / 1.089 GB Notification: Performance of matching and sorting (n=225): time 0.0186/16.77, allocations: 4.419 MB / 4.191 GB, free: 42.17 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/16.77, allocations: 76.31 kB / 4.191 GB, free: 42.11 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/16.78, allocations: 4.123 MB / 4.195 GB, free: 41.78 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0008016/16.78, allocations: 80.7 kB / 4.195 GB, free: 41.75 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.003835/16.79, allocations: 2.779 MB / 4.198 GB, free: 41.12 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.001424/16.79, allocations: 0.7834 MB / 4.198 GB, free: 40.73 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/16.79, allocations: 54.56 kB / 4.198 GB, free: 40.73 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0002018/16.79, allocations: 408.3 kB / 4.199 GB, free: 40.42 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/16.79, allocations: 0.8031 MB / 4.2 GB, free: 40.41 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003459/16.8, allocations: 1.819 MB / 4.201 GB, free: 39.25 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005886/16.8, allocations: 2.549 MB / 4.204 GB, free: 38.45 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.601e-05/16.8, allocations: 5.781 kB / 4.204 GB, free: 38.45 MB / 1.089 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01336/16.82, allocations: 3.506 MB / 4.207 GB, free: 38.06 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005122/16.82, allocations: 0.7366 MB / 4.208 GB, free: 37.2 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/16.82, allocations: 20.94 kB / 4.208 GB, free: 37.2 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004098/16.82, allocations: 0.5555 MB / 4.209 GB, free: 37.16 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003692/16.82, allocations: 0.5233 MB / 4.209 GB, free: 37.16 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/16.83, allocations: 2.695 MB / 4.212 GB, free: 35.07 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008618/16.84, allocations: 0.5559 MB / 4.212 GB, free: 34.95 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008086/16.84, allocations: 136.5 kB / 4.212 GB, free: 34.95 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/16.84, allocations: 8.938 kB / 4.212 GB, free: 34.95 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008533/16.84, allocations: 2.809 MB / 4.215 GB, free: 34.85 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-05/16.85, allocations: 24.83 kB / 4.215 GB, free: 34.85 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001564/16.85, allocations: 377 kB / 4.215 GB, free: 34.82 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003516/16.85, allocations: 0.5243 MB / 4.216 GB, free: 34.82 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/16.86, allocations: 7.725 MB / 4.224 GB, free: 29.17 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008695/16.87, allocations: 0.5131 MB / 4.224 GB, free: 29.06 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007485/16.87, allocations: 134.1 kB / 4.224 GB, free: 29.06 MB / 1.089 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.003996/16.88, allocations: 0.9986 MB / 4.225 GB, free: 28.86 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002038/16.88, allocations: 0.5061 MB / 4.226 GB, free: 28.6 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/16.89, allocations: 3.774 MB / 4.229 GB, free: 28.31 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.572e-05/16.89, allocations: 41.52 kB / 4.229 GB, free: 28.31 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/16.89, allocations: 2.906 kB / 4.229 GB, free: 28.31 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006698/16.89, allocations: 2.608 MB / 4.232 GB, free: 28.11 MB / 1.089 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.02456/16.92, allocations: 8.556 MB / 4.24 GB, free: 26.54 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/16.92, allocations: 0 / 4.24 GB, free: 26.54 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002944/16.92, allocations: 387 kB / 4.241 GB, free: 26.54 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/16.92, allocations: 307 kB / 4.241 GB, free: 26.51 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003112/16.92, allocations: 61.06 kB / 4.241 GB, free: 26.51 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003177/16.93, allocations: 2.5 MB / 4.243 GB, free: 40.43 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/16.93, allocations: 0 / 4.243 GB, free: 40.43 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/16.94, allocations: 4.67 MB / 4.248 GB, free: 39.77 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00436/16.94, allocations: 0.9698 MB / 4.249 GB, free: 39.37 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/16.95, allocations: 47.97 kB / 4.249 GB, free: 39.36 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007344/16.95, allocations: 444.7 kB / 4.249 GB, free: 39.33 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005975/16.95, allocations: 157 kB / 4.25 GB, free: 39.32 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004242/16.96, allocations: 115.3 kB / 4.25 GB, free: 39.32 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.007386/16.96, allocations: 2.715 MB / 4.252 GB, free: 39.14 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.012e-06/16.96, allocations: 0 / 4.252 GB, free: 39.14 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01894/16.98, allocations: 3.437 MB / 4.256 GB, free: 38.76 MB / 1.104 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.00789/16.99, allocations: 3.244 MB / 4.259 GB, free: 37.52 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01114/17, allocations: 4.423 MB / 4.263 GB, free: 36.96 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/17, allocations: 5.891 kB / 4.263 GB, free: 36.96 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.003437/17, allocations: 1.323 MB / 4.264 GB, free: 36.94 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02683/17.03, allocations: 2.719 MB / 4.267 GB, free: 36.88 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02637/17.06, allocations: 11.17 MB / 4.278 GB, free: 31.8 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005214/17.06, allocations: 2.87 MB / 4.281 GB, free: 31.01 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.008611/17.07, allocations: 1.195 MB / 4.282 GB, free: 30.89 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002079/17.07, allocations: 421.7 kB / 4.282 GB, free: 30.89 MB / 1.104 GB Notification: Performance of SimCode: time 2.725e-06/17.07, allocations: 0 / 4.282 GB, free: 30.89 MB / 1.104 GB Notification: Performance of Templates: time 0.2871/17.36, allocations: 116.4 MB / 4.396 GB, free: 21.62 MB / 1.104 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)