Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.00112/0.00112, allocations: 178 kB / 371.6 MB, free: 3.359 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.754/1.754, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000907/0.0009071, allocations: 88.27 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.462e-05/4.465e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3052, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.387, allocations: 411.1 MB / 1.381 GB, free: 2.004 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/1.387, allocations: 88.58 kB / 1.381 GB, free: 1.961 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 12.43/13.82, allocations: 2.734 GB / 4.115 GB, free: 62.48 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.336e-06/13.82, allocations: 0 / 4.115 GB, free: 62.48 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.001128/13.82, allocations: 169 kB / 4.115 GB, free: 62.45 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.02239/13.84, allocations: 5.912 MB / 4.121 GB, free: 59.91 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/13.84, allocations: 9.438 kB / 4.121 GB, free: 59.91 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005596/13.85, allocations: 0.7767 MB / 4.122 GB, free: 59.54 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1429/13.99, allocations: 59.5 MB / 4.18 GB, free: 56.44 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005556/13.99, allocations: 320.8 kB / 4.18 GB, free: 56.43 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00208/13.99, allocations: 429.7 kB / 4.181 GB, free: 56.42 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/14, allocations: 4.187 MB / 4.185 GB, free: 55.64 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/14, allocations: 17.16 kB / 4.185 GB, free: 55.64 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005597/14.01, allocations: 177.2 kB / 4.185 GB, free: 55.64 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/14.01, allocations: 117.1 kB / 4.185 GB, free: 55.64 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006268/14.01, allocations: 2.79 MB / 4.188 GB, free: 55.61 MB / 1.089 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.03994/14.05, allocations: 24.07 MB / 4.211 GB, free: 41.38 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/14.06, allocations: 2.908 MB / 4.214 GB, free: 40.19 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/14.06, allocations: 1.04 MB / 4.215 GB, free: 40.18 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003021/14.06, allocations: 3.943 MB / 4.219 GB, free: 35.77 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/14.06, allocations: 61.38 kB / 4.219 GB, free: 35.73 MB / 1.089 GB Notification: Performance of pre-optimization done (n=225): time 7.093e-06/14.06, allocations: 0 / 4.219 GB, free: 35.73 MB / 1.089 GB Notification: Performance of matching and sorting (n=225): time 0.007814/14.07, allocations: 2.556 MB / 4.222 GB, free: 35.34 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/14.07, allocations: 75.03 kB / 4.222 GB, free: 35.27 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/14.08, allocations: 3.596 MB / 4.225 GB, free: 34.94 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/14.08, allocations: 82.08 kB / 4.225 GB, free: 34.91 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.003467/14.09, allocations: 2.773 MB / 4.228 GB, free: 34.04 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/14.09, allocations: 0.7794 MB / 4.229 GB, free: 33.54 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004474/14.09, allocations: 56.94 kB / 4.229 GB, free: 33.54 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0002879/14.09, allocations: 412.8 kB / 4.229 GB, free: 33.23 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001958/14.09, allocations: 0.764 MB / 4.23 GB, free: 33.22 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/14.09, allocations: 1.77 MB / 4.232 GB, free: 32.06 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/14.09, allocations: 1.069 MB / 4.233 GB, free: 32.03 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.564e-05/14.09, allocations: 3.625 kB / 4.233 GB, free: 32.03 MB / 1.089 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008893/14.1, allocations: 3.295 MB / 4.236 GB, free: 31.64 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.002695/14.11, allocations: 10.35 MB / 4.246 GB, free: 20.87 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.864e-05/14.11, allocations: 19.28 kB / 4.246 GB, free: 20.87 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/14.11, allocations: 400.1 kB / 4.247 GB, free: 20.84 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/14.11, allocations: 0.5266 MB / 4.247 GB, free: 20.84 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/14.11, allocations: 2.685 MB / 4.25 GB, free: 34.74 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007076/14.12, allocations: 0.5636 MB / 4.25 GB, free: 34.6 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000773/14.12, allocations: 137.1 kB / 4.25 GB, free: 34.6 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/14.12, allocations: 3.625 kB / 4.25 GB, free: 34.6 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007184/14.13, allocations: 2.735 MB / 4.253 GB, free: 34.5 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.119e-05/14.13, allocations: 21.22 kB / 4.253 GB, free: 34.5 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/14.13, allocations: 381.5 kB / 4.253 GB, free: 34.46 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/14.13, allocations: 0.5198 MB / 4.254 GB, free: 34.46 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/14.14, allocations: 7.695 MB / 4.261 GB, free: 28.82 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007466/14.15, allocations: 0.5184 MB / 4.262 GB, free: 28.71 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009028/14.15, allocations: 130.9 kB / 4.262 GB, free: 28.71 MB / 1.104 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 () * 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.001733/14.15, allocations: 280.4 kB / 4.262 GB, free: 28.59 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002884/14.16, allocations: 0.5073 MB / 4.263 GB, free: 28.32 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/14.17, allocations: 3.721 MB / 4.266 GB, free: 28.02 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-05/14.17, allocations: 37.17 kB / 4.266 GB, free: 28.02 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/14.17, allocations: 5.906 kB / 4.267 GB, free: 28.02 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005348/14.17, allocations: 2.536 MB / 4.269 GB, free: 27.82 MB / 1.104 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 postOpt removeSimpleEquations (simulation): time 0.02778/14.2, allocations: 8.51 MB / 4.277 GB, free: 26.27 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/14.2, allocations: 2.188 kB / 4.277 GB, free: 26.27 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/14.2, allocations: 386 kB / 4.278 GB, free: 26.27 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007842/14.2, allocations: 306 kB / 4.278 GB, free: 26.21 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003309/14.2, allocations: 65.97 kB / 4.278 GB, free: 26.21 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/14.2, allocations: 2.49 MB / 4.28 GB, free: 24.12 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/14.2, allocations: 3.203 kB / 4.28 GB, free: 24.12 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009922/14.21, allocations: 4.654 MB / 4.285 GB, free: 23.32 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005221/14.22, allocations: 0.9846 MB / 4.286 GB, free: 22.93 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002554/14.22, allocations: 51.39 kB / 4.286 GB, free: 22.92 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006725/14.23, allocations: 435.5 kB / 4.286 GB, free: 22.89 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005114/14.23, allocations: 159.5 kB / 4.287 GB, free: 22.89 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005743/14.23, allocations: 116 kB / 4.287 GB, free: 22.88 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.008404/14.24, allocations: 2.727 MB / 4.289 GB, free: 22.68 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.543e-06/14.24, allocations: 0 / 4.289 GB, free: 22.68 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.02204/14.26, allocations: 3.596 MB / 4.293 GB, free: 22.14 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 () * 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.009461/14.27, allocations: 3.424 MB / 4.296 GB, free: 20.71 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01163/14.28, allocations: 4.498 MB / 4.301 GB, free: 20.12 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/14.28, allocations: 0 / 4.301 GB, free: 20.12 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.003191/14.29, allocations: 1.292 MB / 4.302 GB, free: 20.09 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01849/14.3, allocations: 2.735 MB / 4.305 GB, free: 20.01 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02922/14.33, allocations: 7.28 MB / 4.312 GB, free: 17.87 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007324/14.34, allocations: 2.997 MB / 4.315 GB, free: 17 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.01346/14.35, allocations: 1.514 MB / 4.316 GB, free: 16.67 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/14.36, allocations: 323.5 kB / 4.316 GB, free: 16.67 MB / 1.104 GB Notification: Performance of SimCode: time 1.473e-06/14.36, allocations: 0 / 4.316 GB, free: 16.67 MB / 1.104 GB Notification: Performance of Templates: time 0.2356/14.59, allocations: 133 MB / 4.446 GB, free: 1.141 MB / 1.104 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)