Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.641/1.641, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001176/0.001176, allocations: 176.9 kB / 361.4 MB, free: 6.832 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.612/1.612, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008732/0.000873, allocations: 98.11 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.083e-05, allocations: 8 kB / 0.8517 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7512/0.7513, allocations: 115.3 MB / 0.9644 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.877, allocations: 409.5 MB / 1.364 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.877, allocations: 89.08 kB / 1.364 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 10.27/12.15, allocations: 2.722 GB / 4.087 GB, free: 57.34 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.265e-06/12.15, allocations: 0 / 4.087 GB, free: 57.34 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0009789/12.15, allocations: 169.5 kB / 4.087 GB, free: 57.31 MB / 1.057 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.01877/12.17, allocations: 5.917 MB / 4.092 GB, free: 54.37 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/12.17, allocations: 7.656 kB / 4.092 GB, free: 54.37 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004426/12.17, allocations: 0.7747 MB / 4.093 GB, free: 54 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1158/12.29, allocations: 59.37 MB / 4.151 GB, free: 50.08 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/12.29, allocations: 129.7 kB / 4.151 GB, free: 50.08 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007825/12.29, allocations: 253.2 kB / 4.152 GB, free: 50.08 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005101/12.29, allocations: 2.522 MB / 4.154 GB, free: 50.05 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006028/12.3, allocations: 3.611 MB / 4.158 GB, free: 49.25 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.319e-05/12.3, allocations: 15.52 kB / 4.158 GB, free: 49.24 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003258/12.3, allocations: 14.78 kB / 4.158 GB, free: 49.24 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001274/12.3, allocations: 116 kB / 4.158 GB, free: 49.23 MB / 1.057 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.02902/12.33, allocations: 23.37 MB / 4.181 GB, free: 34.77 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/12.33, allocations: 2.842 MB / 4.183 GB, free: 33.6 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/12.33, allocations: 0.9923 MB / 4.184 GB, free: 33.59 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00256/12.33, allocations: 3.937 MB / 4.188 GB, free: 29.17 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/12.33, allocations: 62.16 kB / 4.188 GB, free: 29.13 MB / 1.057 GB Notification: Performance of pre-optimization done (n=225): time 4.258e-06/12.33, allocations: 0 / 4.188 GB, free: 29.13 MB / 1.057 GB Notification: Performance of matching and sorting (n=225): time 0.007958/12.34, allocations: 2.894 MB / 4.191 GB, free: 28.68 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/12.34, allocations: 73.62 kB / 4.191 GB, free: 28.62 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007952/12.35, allocations: 3.289 MB / 4.194 GB, free: 27.9 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0003623/12.35, allocations: 32.36 kB / 4.194 GB, free: 27.87 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/12.35, allocations: 2.788 MB / 4.197 GB, free: 25.68 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007712/12.35, allocations: 0.7522 MB / 4.198 GB, free: 25.08 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/12.35, allocations: 0 / 4.198 GB, free: 25.08 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001547/12.35, allocations: 404.4 kB / 4.198 GB, free: 24.73 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/12.36, allocations: 0.7353 MB / 4.199 GB, free: 24.42 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/12.36, allocations: 1.697 MB / 4.201 GB, free: 22.86 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/12.36, allocations: 1.375 MB / 4.202 GB, free: 22.35 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-05/12.36, allocations: 3.875 kB / 4.202 GB, free: 22.35 MB / 1.057 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009738/12.37, allocations: 3.469 MB / 4.205 GB, free: 21.06 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.00292/12.37, allocations: 10.3 MB / 4.215 GB, free: 10.06 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.766e-05/12.37, allocations: 22.44 kB / 4.215 GB, free: 10.06 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007879/12.37, allocations: 341.3 kB / 4.216 GB, free: 9.945 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/12.38, allocations: 0.5245 MB / 4.216 GB, free: 9.891 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/12.38, allocations: 2.758 MB / 4.219 GB, free: 7.504 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00696/12.39, allocations: 0.4994 MB / 4.219 GB, free: 7.336 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004015/12.39, allocations: 132.3 kB / 4.219 GB, free: 7.316 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/12.39, allocations: 4.375 kB / 4.219 GB, free: 7.316 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006813/12.39, allocations: 2.747 MB / 4.222 GB, free: 6.387 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.78e-05/12.39, allocations: 29.83 kB / 4.222 GB, free: 6.379 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009902/12.39, allocations: 356.3 kB / 4.223 GB, free: 6.277 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/12.4, allocations: 0.5244 MB / 4.223 GB, free: 6.223 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009377/12.41, allocations: 7.404 MB / 4.23 GB, free: 15.81 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006814/12.41, allocations: 468 kB / 4.231 GB, free: 15.67 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007346/12.41, allocations: 129 kB / 4.231 GB, free: 15.65 MB / 1.073 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.001338/12.41, allocations: 181.6 kB / 4.231 GB, free: 15.48 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002242/12.42, allocations: 0.4952 MB / 4.231 GB, free: 15.23 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/12.43, allocations: 3.759 MB / 4.235 GB, free: 13.8 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-05/12.43, allocations: 42.23 kB / 4.235 GB, free: 13.79 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/12.43, allocations: 6.938 kB / 4.235 GB, free: 13.79 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005872/12.43, allocations: 2.626 MB / 4.238 GB, free: 12.79 MB / 1.073 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.02264/12.46, allocations: 8.087 MB / 4.246 GB, free: 8.918 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/12.46, allocations: 4.094 kB / 4.246 GB, free: 8.914 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/12.46, allocations: 387.4 kB / 4.246 GB, free: 8.801 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000507/12.46, allocations: 229.6 kB / 4.246 GB, free: 8.59 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/12.46, allocations: 40.67 kB / 4.246 GB, free: 8.562 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/12.46, allocations: 2.5 MB / 4.249 GB, free: 6.008 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/12.46, allocations: 0 / 4.249 GB, free: 6.008 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/12.47, allocations: 4.71 MB / 4.253 GB, free: 1.637 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004048/12.48, allocations: 0.9832 MB / 4.254 GB, free: 0.793 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001993/12.48, allocations: 7.703 kB / 4.254 GB, free: 0.7891 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005639/12.48, allocations: 394.2 kB / 4.255 GB, free: 0.5117 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003598/12.48, allocations: 153.5 kB / 4.255 GB, free: 428 kB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004596/12.48, allocations: 118.6 kB / 4.255 GB, free: 332 kB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01139/12.5, allocations: 2.812 MB / 4.258 GB, free: 15.11 MB / 1.089 GB Notification: Performance of sort global known variables: time 4.91e-07/12.5, allocations: 0 / 4.258 GB, free: 15.11 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.01962/12.52, allocations: 3.453 MB / 4.261 GB, free: 11.7 MB / 1.089 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.008008/12.52, allocations: 3.433 MB / 4.264 GB, free: 8.285 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.009862/12.53, allocations: 4.243 MB / 4.269 GB, free: 4.23 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.701e-05/12.53, allocations: 4 kB / 4.269 GB, free: 4.227 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.003309/12.54, allocations: 1.23 MB / 4.27 GB, free: 3.082 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01699/12.55, allocations: 2.639 MB / 4.272 GB, free: 1.184 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.948/13.5, allocations: 7.14 MB / 4.279 GB, free: 83.77 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003782/13.51, allocations: 2.999 MB / 4.282 GB, free: 82.97 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.01015/13.52, allocations: 1.491 MB / 4.284 GB, free: 82.93 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/13.52, allocations: 322.7 kB / 4.284 GB, free: 82.93 MB / 1.089 GB Notification: Performance of SimCode: time 1.923e-06/13.52, allocations: 0.5625 kB / 4.284 GB, free: 82.93 MB / 1.089 GB Notification: Performance of Templates: time 0.2182/13.73, allocations: 115.1 MB / 4.396 GB, free: 75.77 MB / 1.089 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)