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.858/1.858, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001813/0.001813, allocations: 195.4 kB / 377.1 MB, free: 1.5 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.771/1.771, allocations: 205.4 MB / 0.6367 GB, free: 9.508 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.0009287/0.0009286, allocations: 92.16 kB / 0.751 GB, free: 62.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 12 kB / 0.8748 GB, free: 11.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.286, allocations: 116.3 MB / 0.9884 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.556/1.842, allocations: 411.2 MB / 1.39 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/1.842, allocations: 98.55 kB / 1.39 GB, free: 253.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 10.54/12.39, allocations: 2.743 GB / 4.133 GB, free: 56.14 MB / 1.073 GB Notification: Performance of FrontEnd: time 4.248e-06/12.39, allocations: 1.031 kB / 4.133 GB, free: 56.14 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.00157/12.39, allocations: 168.7 kB / 4.133 GB, free: 56.11 MB / 1.073 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.03145/12.42, allocations: 7.148 MB / 4.14 GB, free: 52.82 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.978e-05/12.42, allocations: 6.562 kB / 4.14 GB, free: 52.82 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005869/12.42, allocations: 0.7769 MB / 4.14 GB, free: 52.45 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1434/12.57, allocations: 59.82 MB / 4.199 GB, free: 49.36 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005108/12.57, allocations: 320.6 kB / 4.199 GB, free: 49.34 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001883/12.57, allocations: 430.3 kB / 4.2 GB, free: 49.34 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/12.59, allocations: 4.272 MB / 4.204 GB, free: 48.55 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003319/12.59, allocations: 22.17 kB / 4.204 GB, free: 48.55 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/12.59, allocations: 176 kB / 4.204 GB, free: 48.55 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/12.59, allocations: 113.5 kB / 4.204 GB, free: 48.55 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008335/12.6, allocations: 2.908 MB / 4.207 GB, free: 48.52 MB / 1.073 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.03852/12.64, allocations: 24.06 MB / 4.23 GB, free: 34.29 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/12.64, allocations: 2.946 MB / 4.233 GB, free: 33.1 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002863/12.65, allocations: 3.934 MB / 4.237 GB, free: 28.7 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.773e-05/12.65, allocations: 71.81 kB / 4.237 GB, free: 28.66 MB / 1.073 GB Notification: Performance of pre-optimization done (n=225): time 8.536e-06/12.65, allocations: 0 / 4.237 GB, free: 28.66 MB / 1.073 GB Notification: Performance of matching and sorting (n=225): time 0.01143/12.66, allocations: 4.105 MB / 4.241 GB, free: 27.88 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/12.66, allocations: 75.75 kB / 4.241 GB, free: 27.81 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01186/12.67, allocations: 3.665 MB / 4.245 GB, free: 27.5 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/12.67, allocations: 78.39 kB / 4.245 GB, free: 27.46 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003805/12.67, allocations: 2.775 MB / 4.248 GB, free: 26.6 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001819/12.68, allocations: 0.7828 MB / 4.248 GB, free: 26.09 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004909/12.68, allocations: 55.72 kB / 4.248 GB, free: 26.09 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0003225/12.68, allocations: 405.7 kB / 4.249 GB, free: 25.79 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/12.68, allocations: 0.8033 MB / 4.25 GB, free: 25.78 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002562/12.68, allocations: 1.803 MB / 4.251 GB, free: 24.62 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/12.68, allocations: 1.104 MB / 4.252 GB, free: 24.59 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/12.68, allocations: 5.5 kB / 4.252 GB, free: 24.59 MB / 1.073 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008454/12.69, allocations: 3.362 MB / 4.256 GB, free: 24.16 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003717/12.7, allocations: 10.35 MB / 4.266 GB, free: 29.39 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.525e-05/12.7, allocations: 21.78 kB / 4.266 GB, free: 29.39 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/12.7, allocations: 403.3 kB / 4.266 GB, free: 29.35 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/12.7, allocations: 0.5225 MB / 4.267 GB, free: 29.32 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/12.7, allocations: 2.694 MB / 4.269 GB, free: 27.2 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006984/12.71, allocations: 0.5626 MB / 4.27 GB, free: 27.05 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007434/12.71, allocations: 131.2 kB / 4.27 GB, free: 27.05 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/12.71, allocations: 3.656 kB / 4.27 GB, free: 27.05 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006777/12.72, allocations: 2.813 MB / 4.273 GB, free: 26.8 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/12.72, allocations: 29.92 kB / 4.273 GB, free: 26.8 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009617/12.72, allocations: 369.2 kB / 4.273 GB, free: 26.77 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/12.72, allocations: 0.527 MB / 4.274 GB, free: 26.73 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009954/12.73, allocations: 7.811 MB / 4.281 GB, free: 21.02 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007246/12.74, allocations: 0.5267 MB / 4.282 GB, free: 20.89 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008222/12.74, allocations: 125.9 kB / 4.282 GB, free: 20.89 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.004487/12.74, allocations: 1.002 MB / 4.283 GB, free: 20.66 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002452/12.74, allocations: 0.4997 MB / 4.283 GB, free: 20.39 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009659/12.75, allocations: 3.789 MB / 4.287 GB, free: 19.96 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.104e-05/12.75, allocations: 36.91 kB / 4.287 GB, free: 19.96 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/12.75, allocations: 3.938 kB / 4.287 GB, free: 19.96 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004714/12.76, allocations: 2.612 MB / 4.29 GB, free: 19.69 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.02196/12.78, allocations: 8.584 MB / 4.298 GB, free: 18.06 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/12.78, allocations: 0 / 4.298 GB, free: 18.06 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/12.78, allocations: 389.1 kB / 4.299 GB, free: 18.04 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007205/12.78, allocations: 301.8 kB / 4.299 GB, free: 17.98 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002689/12.78, allocations: 68.19 kB / 4.299 GB, free: 17.98 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/12.79, allocations: 2.497 MB / 4.301 GB, free: 15.88 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/12.79, allocations: 0 / 4.301 GB, free: 15.88 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008781/12.79, allocations: 4.762 MB / 4.306 GB, free: 15.04 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004131/12.8, allocations: 0.986 MB / 4.307 GB, free: 14.64 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001793/12.8, allocations: 55.5 kB / 4.307 GB, free: 14.63 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005252/12.81, allocations: 440.4 kB / 4.307 GB, free: 14.56 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003254/12.81, allocations: 153.1 kB / 4.308 GB, free: 14.56 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004154/12.81, allocations: 112.4 kB / 4.308 GB, free: 14.56 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.007402/12.81, allocations: 2.801 MB / 4.31 GB, free: 14.38 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.853e-06/12.81, allocations: 96 / 4.31 GB, free: 14.38 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.01968/12.83, allocations: 3.601 MB / 4.314 GB, free: 13.84 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 () * 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.008568/12.84, allocations: 3.429 MB / 4.317 GB, free: 12.09 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.009546/12.85, allocations: 4.432 MB / 4.322 GB, free: 11.35 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/12.85, allocations: 4.469 kB / 4.322 GB, free: 11.35 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.002663/12.85, allocations: 1.318 MB / 4.323 GB, free: 11.29 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01616/12.87, allocations: 2.744 MB / 4.326 GB, free: 11.09 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/12.89, allocations: 11.16 MB / 4.336 GB, free: 5.477 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004563/12.9, allocations: 2.985 MB / 4.339 GB, free: 4.609 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.007644/12.91, allocations: 1.204 MB / 4.341 GB, free: 4.348 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/12.91, allocations: 420.9 kB / 4.341 GB, free: 4.34 MB / 1.089 GB Notification: Performance of SimCode: time 1.172e-06/12.91, allocations: 0 / 4.341 GB, free: 4.34 MB / 1.089 GB Notification: Performance of Templates: time 1.046/13.95, allocations: 119.9 MB / 4.458 GB, free: 100.2 MB / 1.12 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)