Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.622/1.622, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009717/0.0009719, allocations: 188.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 0.6626 GB, free: 4.352 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008306/0.0008306, allocations: 93.81 kB / 0.7808 GB, free: 43.79 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004352, allocations: 16 kB / 0.9088 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6985/0.699, allocations: 120.3 MB / 1.026 GB, free: 56.85 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.783/5.482, allocations: 2.166 GB / 3.193 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/5.482, allocations: 97.12 kB / 3.193 GB, free: 37.8 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.515/8.997, allocations: 1.009 GB / 4.202 GB, free: 149.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.526e-06/8.997, allocations: 2.156 kB / 4.202 GB, free: 149.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003253/8.998, allocations: 57.52 kB / 4.202 GB, free: 149.3 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.009447/9.007, allocations: 2.154 MB / 4.204 GB, free: 148.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/9.007, allocations: 13.16 kB / 4.204 GB, free: 148.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/9.011, allocations: 351 kB / 4.204 GB, free: 148 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006339/9.017, allocations: 1.608 MB / 4.206 GB, free: 147.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/9.017, allocations: 91.41 kB / 4.206 GB, free: 147.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005155/9.018, allocations: 119.9 kB / 4.206 GB, free: 147.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00404/9.022, allocations: 1.189 MB / 4.207 GB, free: 146.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-05/9.022, allocations: 3.938 kB / 4.207 GB, free: 146.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/9.022, allocations: 51.47 kB / 4.207 GB, free: 146.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-05/9.022, allocations: 46.86 kB / 4.207 GB, free: 146.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00291/9.025, allocations: 0.9372 MB / 4.208 GB, free: 146.2 MB / 0.9948 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.01122/9.036, allocations: 5.494 MB / 4.214 GB, free: 142.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/9.038, allocations: 0.8726 MB / 4.214 GB, free: 141.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009558/9.039, allocations: 419.1 kB / 4.215 GB, free: 141.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006711/9.04, allocations: 0.6036 MB / 4.215 GB, free: 141.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/9.04, allocations: 46.81 kB / 4.215 GB, free: 141 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=70): time 6.802e-06/9.04, allocations: 2.469 kB / 4.215 GB, free: 141 MB / 0.9948 GB Notification: Performance of matching and sorting (n=70): time 0.005305/9.045, allocations: 1.457 MB / 4.217 GB, free: 140.4 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/9.045, allocations: 63.47 kB / 4.217 GB, free: 140.3 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/9.048, allocations: 1.169 MB / 4.218 GB, free: 139.9 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000239/9.049, allocations: 44.48 kB / 4.218 GB, free: 139.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007214/9.049, allocations: 0.6966 MB / 4.219 GB, free: 139.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/9.05, allocations: 244.8 kB / 4.219 GB, free: 139.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/9.05, allocations: 15.97 kB / 4.219 GB, free: 139.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001025/9.05, allocations: 335.7 kB / 4.219 GB, free: 138.8 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008602/9.051, allocations: 276.4 kB / 4.22 GB, free: 138.7 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/9.052, allocations: 0.5217 MB / 4.22 GB, free: 138.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/9.054, allocations: 0.7008 MB / 4.221 GB, free: 138 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/9.054, allocations: 0 / 4.221 GB, free: 138 MB / 0.9948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003576/9.057, allocations: 1.016 MB / 4.222 GB, free: 137.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/9.058, allocations: 162.9 kB / 4.222 GB, free: 137.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/9.058, allocations: 6.25 kB / 4.222 GB, free: 137.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009858/9.059, allocations: 141.3 kB / 4.222 GB, free: 137.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/9.06, allocations: 167.3 kB / 4.222 GB, free: 137.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/9.061, allocations: 1.767 MB / 4.224 GB, free: 135.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/9.064, allocations: 166.4 kB / 4.224 GB, free: 135.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/9.064, allocations: 34.23 kB / 4.224 GB, free: 135.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/9.064, allocations: 3.906 kB / 4.224 GB, free: 135.6 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002279/9.066, allocations: 0.7958 MB / 4.225 GB, free: 135.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/9.066, allocations: 5.312 kB / 4.225 GB, free: 135.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/9.067, allocations: 89.31 kB / 4.225 GB, free: 135.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/9.067, allocations: 156 kB / 4.225 GB, free: 135.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/9.071, allocations: 3.133 MB / 4.228 GB, free: 132.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/9.073, allocations: 158 kB / 4.228 GB, free: 132.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/9.073, allocations: 35.23 kB / 4.228 GB, free: 132.2 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001178/9.074, allocations: 437.3 kB / 4.229 GB, free: 131.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/9.075, allocations: 145 kB / 4.229 GB, free: 131.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002642/9.077, allocations: 0.975 MB / 4.23 GB, free: 131.4 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/9.077, allocations: 7.875 kB / 4.23 GB, free: 131.4 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/9.077, allocations: 1.75 kB / 4.23 GB, free: 131.4 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001982/9.079, allocations: 1.086 MB / 4.231 GB, free: 130.6 MB / 0.9948 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.006169/9.086, allocations: 2.442 MB / 4.233 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/9.086, allocations: 2.875 kB / 4.233 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/9.087, allocations: 161.2 kB / 4.234 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/9.087, allocations: 94.42 kB / 4.234 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-05/9.087, allocations: 25.58 kB / 4.234 GB, free: 129.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/9.088, allocations: 1.728 MB / 4.235 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/9.088, allocations: 7.594 kB / 4.235 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00367/9.092, allocations: 1.493 MB / 4.237 GB, free: 127 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/9.093, allocations: 328.6 kB / 4.237 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/9.094, allocations: 22.69 kB / 4.237 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/9.095, allocations: 114.6 kB / 4.237 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/9.095, allocations: 48.61 kB / 4.237 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.719e-05/9.095, allocations: 29.55 kB / 4.237 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00169/9.097, allocations: 0.8053 MB / 4.238 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.9e-07/9.097, allocations: 3.938 kB / 4.238 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003994/9.101, allocations: 0.9903 MB / 4.239 GB, free: 126.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00372/9.105, allocations: 2.049 MB / 4.241 GB, free: 125.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003559/9.108, allocations: 1.4 MB / 4.242 GB, free: 124.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/9.108, allocations: 6.75 kB / 4.242 GB, free: 124.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/9.109, allocations: 420.3 kB / 4.243 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006248/9.116, allocations: 0.8131 MB / 4.244 GB, free: 124.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006359/9.122, allocations: 3.256 MB / 4.247 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/9.123, allocations: 1.28 MB / 4.248 GB, free: 122 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002807/9.126, allocations: 343.1 kB / 4.248 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/9.126, allocations: 105.1 kB / 4.248 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.523e-06/9.126, allocations: 3.938 kB / 4.248 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.09747/9.224, allocations: 48.82 MB / 4.296 GB, free: 78.79 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)