Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.751/1.751, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001518/0.001518, allocations: 184.9 kB / 361.4 MB, free: 6.801 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.909/1.909, allocations: 205.2 MB / 0.62 GB, free: 11.61 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.001094/0.001094, allocations: 102.6 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.102e-05, allocations: 8 kB / 0.8517 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8145/0.8146, allocations: 115.3 MB / 0.9644 GB, free: 79.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.19/6.004, allocations: 2.089 GB / 3.053 GB, free: 26.24 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/6.005, allocations: 89.02 kB / 3.053 GB, free: 26.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.812/9.817, allocations: 0.9895 GB / 4.042 GB, free: 131 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.733e-06/9.817, allocations: 2.344 kB / 4.042 GB, free: 131 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.238e-05/9.817, allocations: 31.59 kB / 4.043 GB, free: 131 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.0053/9.823, allocations: 1.726 MB / 4.044 GB, free: 129.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/9.823, allocations: 12.03 kB / 4.044 GB, free: 129.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002808/9.825, allocations: 0.5482 MB / 4.045 GB, free: 128.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/9.827, allocations: 1.044 MB / 4.046 GB, free: 127.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005764/9.828, allocations: 169.4 kB / 4.046 GB, free: 127.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/9.828, allocations: 52 kB / 4.046 GB, free: 127.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001429/9.829, allocations: 1.031 MB / 4.047 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/9.831, allocations: 1.025 MB / 4.048 GB, free: 125.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/9.831, allocations: 4 kB / 4.048 GB, free: 125.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/9.831, allocations: 0 / 4.048 GB, free: 125.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/9.831, allocations: 49.94 kB / 4.048 GB, free: 125.3 MB / 0.948 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.005467/9.837, allocations: 3.995 MB / 4.052 GB, free: 121.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009767/9.838, allocations: 0.7306 MB / 4.053 GB, free: 120.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/9.838, allocations: 0.4923 MB / 4.053 GB, free: 119.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008747/9.839, allocations: 0.608 MB / 4.054 GB, free: 119.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/9.839, allocations: 39.34 kB / 4.054 GB, free: 119.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.736e-06/9.839, allocations: 4 kB / 4.054 GB, free: 119.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002159/9.841, allocations: 1.127 MB / 4.055 GB, free: 118 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/9.841, allocations: 64.19 kB / 4.055 GB, free: 117.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/9.842, allocations: 0.5553 MB / 4.055 GB, free: 117.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/9.842, allocations: 29.7 kB / 4.056 GB, free: 117.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/9.842, allocations: 456.2 kB / 4.056 GB, free: 116.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/9.842, allocations: 251.1 kB / 4.056 GB, free: 116.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/9.843, allocations: 0 / 4.056 GB, free: 116.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/9.843, allocations: 341.9 kB / 4.057 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/9.843, allocations: 397.4 kB / 4.057 GB, free: 115.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/9.844, allocations: 0.533 MB / 4.057 GB, free: 115.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009977/9.845, allocations: 0.5743 MB / 4.058 GB, free: 114.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/9.845, allocations: 0 / 4.058 GB, free: 114.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00184/9.847, allocations: 1.175 MB / 4.059 GB, free: 113.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001524/9.847, allocations: 478.7 kB / 4.06 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/9.847, allocations: 8 kB / 4.06 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/9.847, allocations: 7.984 kB / 4.06 GB, free: 113.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/9.848, allocations: 283.5 kB / 4.06 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005217/9.849, allocations: 1.195 MB / 4.061 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/9.85, allocations: 179.5 kB / 4.061 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/9.85, allocations: 39.97 kB / 4.061 GB, free: 111.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/9.85, allocations: 4 kB / 4.061 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001661/9.852, allocations: 1.064 MB / 4.062 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/9.852, allocations: 0 / 4.062 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.523e-06/9.852, allocations: 4 kB / 4.062 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/9.853, allocations: 267.8 kB / 4.063 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/9.853, allocations: 4 kB / 4.063 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/9.854, allocations: 167.4 kB / 4.063 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/9.854, allocations: 43.92 kB / 4.063 GB, free: 109.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002096/9.854, allocations: 120.8 kB / 4.063 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/9.855, allocations: 90.88 kB / 4.063 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/9.857, allocations: 1.197 MB / 4.064 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/9.857, allocations: 11.94 kB / 4.064 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/9.857, allocations: 0 / 4.064 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/9.857, allocations: 3.984 kB / 4.064 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/9.86, allocations: 2.58 MB / 4.067 GB, free: 105.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/9.86, allocations: 8.062 kB / 4.067 GB, free: 105.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/9.861, allocations: 265.8 kB / 4.067 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/9.861, allocations: 8 kB / 4.067 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/9.862, allocations: 15.98 kB / 4.067 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003696/9.862, allocations: 1.195 MB / 4.068 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/9.862, allocations: 8.062 kB / 4.068 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/9.864, allocations: 1.48 MB / 4.07 GB, free: 102.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/9.864, allocations: 307.6 kB / 4.07 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/9.864, allocations: 19.88 kB / 4.07 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/9.865, allocations: 155.8 kB / 4.07 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/9.866, allocations: 52.48 kB / 4.07 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.507e-05/9.866, allocations: 43.92 kB / 4.07 GB, free: 101.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004989/9.866, allocations: 443.1 kB / 4.071 GB, free: 101.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/9.866, allocations: 4 kB / 4.071 GB, free: 101.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001878/9.868, allocations: 0.6744 MB / 4.071 GB, free: 100.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003088/9.871, allocations: 2.623 MB / 4.074 GB, free: 98.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002341/9.873, allocations: 1.615 MB / 4.075 GB, free: 96.74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/9.873, allocations: 0 / 4.075 GB, free: 96.74 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007016/9.874, allocations: 0.5147 MB / 4.076 GB, free: 96.22 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/9.876, allocations: 419.6 kB / 4.076 GB, free: 95.82 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/9.888, allocations: 2.33 MB / 4.079 GB, free: 93.42 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/9.889, allocations: 1.115 MB / 4.08 GB, free: 92.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002026/9.891, allocations: 454 kB / 4.08 GB, free: 91.83 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/9.891, allocations: 75.39 kB / 4.08 GB, free: 91.75 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/9.891, allocations: 0 / 4.08 GB, free: 91.75 MB / 0.948 GB Notification: Performance of Templates: time 0.03938/9.931, allocations: 31.14 MB / 4.111 GB, free: 60.93 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)