Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.597/1.597, allocations: 288.4 MB / 304.3 MB, free: 8.133 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.0009717/0.0009714, allocations: 184.4 kB / 373 MB, free: 10.13 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.49/1.49, allocations: 205.4 MB / 0.6317 GB, free: 9.914 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.0008067/0.0008067, allocations: 104.9 kB / 0.7451 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.000375, allocations: 22.23 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2248, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.828/6.053, allocations: 2.334 GB / 3.315 GB, free: 342.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/6.054, allocations: 102.2 kB / 3.315 GB, free: 342.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.728/8.782, allocations: 0.9979 GB / 4.313 GB, free: 57.66 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/8.782, allocations: 0 / 4.313 GB, free: 57.66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001389/8.782, allocations: 51.98 kB / 4.313 GB, free: 57.61 MB / 0.948 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.004483/8.786, allocations: 2.152 MB / 4.315 GB, free: 55.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/8.786, allocations: 8.031 kB / 4.315 GB, free: 55.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/8.788, allocations: 358.4 kB / 4.316 GB, free: 55.04 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/8.791, allocations: 1.601 MB / 4.317 GB, free: 53.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/8.791, allocations: 86.53 kB / 4.317 GB, free: 53.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/8.791, allocations: 120.4 kB / 4.317 GB, free: 53.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/8.793, allocations: 1.194 MB / 4.318 GB, free: 51.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/8.793, allocations: 7.844 kB / 4.319 GB, free: 51.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.453e-05/8.793, allocations: 43.98 kB / 4.319 GB, free: 51.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/8.794, allocations: 54.12 kB / 4.319 GB, free: 51.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/8.795, allocations: 0.9336 MB / 4.32 GB, free: 50.89 MB / 0.948 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.006549/8.802, allocations: 5.485 MB / 4.325 GB, free: 44.97 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/8.803, allocations: 0.8814 MB / 4.326 GB, free: 44.04 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006883/8.804, allocations: 421.6 kB / 4.326 GB, free: 43.62 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005794/8.804, allocations: 0.6096 MB / 4.327 GB, free: 42.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/8.804, allocations: 43.06 kB / 4.327 GB, free: 42.84 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 4.198e-06/8.804, allocations: 0 / 4.327 GB, free: 42.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.003755/8.808, allocations: 1.457 MB / 4.328 GB, free: 41.33 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/8.808, allocations: 55.97 kB / 4.328 GB, free: 41.26 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/8.81, allocations: 1.182 MB / 4.329 GB, free: 40.07 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/8.81, allocations: 41.7 kB / 4.329 GB, free: 40.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/8.81, allocations: 0.6851 MB / 4.33 GB, free: 39.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/8.811, allocations: 244.4 kB / 4.33 GB, free: 39.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/8.811, allocations: 16 kB / 4.33 GB, free: 39.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/8.811, allocations: 330 kB / 4.331 GB, free: 38.74 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/8.811, allocations: 285.8 kB / 4.331 GB, free: 38.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/8.812, allocations: 0.5166 MB / 4.331 GB, free: 37.85 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/8.813, allocations: 0.704 MB / 4.332 GB, free: 37.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/8.813, allocations: 4 kB / 4.332 GB, free: 37.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002071/8.815, allocations: 1.012 MB / 4.333 GB, free: 36.08 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/8.815, allocations: 157.4 kB / 4.333 GB, free: 35.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/8.815, allocations: 4 kB / 4.333 GB, free: 35.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00071/8.816, allocations: 148 kB / 4.333 GB, free: 35.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/8.817, allocations: 179.6 kB / 4.334 GB, free: 35.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/8.818, allocations: 1.749 MB / 4.335 GB, free: 33.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/8.819, allocations: 171.2 kB / 4.335 GB, free: 33.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/8.819, allocations: 31.98 kB / 4.335 GB, free: 33.54 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/8.819, allocations: 4 kB / 4.335 GB, free: 33.54 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001326/8.821, allocations: 0.8016 MB / 4.336 GB, free: 32.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/8.821, allocations: 4 kB / 4.336 GB, free: 32.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000239/8.821, allocations: 93.8 kB / 4.336 GB, free: 32.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/8.822, allocations: 147.8 kB / 4.337 GB, free: 32.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/8.824, allocations: 3.137 MB / 4.34 GB, free: 29.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/8.825, allocations: 163.2 kB / 4.34 GB, free: 28.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/8.825, allocations: 27.94 kB / 4.34 GB, free: 28.88 MB / 0.948 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.0008058/8.826, allocations: 436.9 kB / 4.34 GB, free: 28.44 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/8.826, allocations: 138.3 kB / 4.34 GB, free: 28.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/8.828, allocations: 0.9842 MB / 4.341 GB, free: 27.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/8.828, allocations: 8 kB / 4.341 GB, free: 27.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/8.828, allocations: 3.984 kB / 4.341 GB, free: 27.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001161/8.829, allocations: 1.083 MB / 4.342 GB, free: 26.12 MB / 0.948 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.003818/8.833, allocations: 2.447 MB / 4.345 GB, free: 23.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/8.833, allocations: 0 / 4.345 GB, free: 23.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/8.834, allocations: 168 kB / 4.345 GB, free: 23.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/8.834, allocations: 85.59 kB / 4.345 GB, free: 23.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.457e-05/8.834, allocations: 19.94 kB / 4.345 GB, free: 23.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006295/8.835, allocations: 1.749 MB / 4.347 GB, free: 21.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/8.835, allocations: 0 / 4.347 GB, free: 21.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/8.837, allocations: 1.493 MB / 4.348 GB, free: 19.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/8.837, allocations: 331 kB / 4.348 GB, free: 19.59 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/8.838, allocations: 12 kB / 4.348 GB, free: 19.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/8.839, allocations: 127.7 kB / 4.349 GB, free: 19.45 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/8.839, allocations: 48.44 kB / 4.349 GB, free: 19.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/8.839, allocations: 31.98 kB / 4.349 GB, free: 19.37 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001071/8.84, allocations: 0.7966 MB / 4.349 GB, free: 18.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/8.84, allocations: 0 / 4.349 GB, free: 18.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003149/8.843, allocations: 0.9904 MB / 4.35 GB, free: 17.58 MB / 0.948 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.002952/8.846, allocations: 2.053 MB / 4.352 GB, free: 15.49 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002618/8.849, allocations: 1.4 MB / 4.354 GB, free: 14.06 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/8.849, allocations: 0 / 4.354 GB, free: 14.06 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007621/8.85, allocations: 423.7 kB / 4.354 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004822/8.854, allocations: 0.8054 MB / 4.355 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/8.86, allocations: 3.272 MB / 4.358 GB, free: 9.539 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009492/8.86, allocations: 1.281 MB / 4.359 GB, free: 8.227 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001736/8.862, allocations: 354.5 kB / 4.36 GB, free: 7.879 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/8.863, allocations: 107.4 kB / 4.36 GB, free: 7.777 MB / 0.948 GB Notification: Performance of SimCode: time 1.202e-06/8.863, allocations: 0 / 4.36 GB, free: 7.777 MB / 0.948 GB Notification: Performance of Templates: time 0.6235/9.486, allocations: 48.76 MB / 4.407 GB, free: 137.7 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)