Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.612/1.612, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.001092/0.001092, allocations: 180.8 kB / 366.7 MB, free: 1.699 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.829/1.829, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008317/0.0008318, allocations: 90.3 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.412e-05, allocations: 4 kB / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8022/0.8023, allocations: 116.3 MB / 0.9732 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.424/6.226, allocations: 2.089 GB / 3.063 GB, free: 39.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/6.227, allocations: 89.33 kB / 3.063 GB, free: 39.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.882/10.11, allocations: 0.9895 GB / 4.052 GB, free: 128.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.263e-06/10.11, allocations: 0 / 4.052 GB, free: 128.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001514/10.11, allocations: 35.12 kB / 4.052 GB, free: 128 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.00616/10.12, allocations: 1.724 MB / 4.054 GB, free: 126.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/10.12, allocations: 12.03 kB / 4.054 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003373/10.12, allocations: 0.5459 MB / 4.055 GB, free: 125.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/10.12, allocations: 1.043 MB / 4.056 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006215/10.12, allocations: 170.9 kB / 4.056 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/10.12, allocations: 52 kB / 4.056 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0019/10.12, allocations: 1.035 MB / 4.057 GB, free: 123.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/10.13, allocations: 1.017 MB / 4.058 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/10.13, allocations: 11.34 kB / 4.058 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/10.13, allocations: 4 kB / 4.058 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/10.13, allocations: 49.94 kB / 4.058 GB, free: 122.4 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.007032/10.13, allocations: 3.99 MB / 4.062 GB, free: 118.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/10.13, allocations: 0.735 MB / 4.063 GB, free: 117.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006078/10.13, allocations: 497.6 kB / 4.063 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009771/10.14, allocations: 0.6074 MB / 4.064 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/10.14, allocations: 43.33 kB / 4.064 GB, free: 116.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/10.14, allocations: 0 / 4.064 GB, free: 116.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002479/10.14, allocations: 1.135 MB / 4.065 GB, free: 115 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/10.14, allocations: 68.06 kB / 4.065 GB, free: 114.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008634/10.14, allocations: 0.5553 MB / 4.065 GB, free: 114.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/10.14, allocations: 29.7 kB / 4.065 GB, free: 114.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/10.14, allocations: 456.2 kB / 4.066 GB, free: 113.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/10.14, allocations: 244.3 kB / 4.066 GB, free: 113.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/10.14, allocations: 0 / 4.066 GB, free: 113.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.377e-05/10.14, allocations: 341.9 kB / 4.066 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/10.14, allocations: 397.4 kB / 4.067 GB, free: 112.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/10.14, allocations: 0.5193 MB / 4.067 GB, free: 112.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/10.14, allocations: 0.5821 MB / 4.068 GB, free: 111.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/10.14, allocations: 0 / 4.068 GB, free: 111.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00205/10.14, allocations: 1.178 MB / 4.069 GB, free: 110.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001554/10.14, allocations: 481.8 kB / 4.069 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/10.14, allocations: 0 / 4.069 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/10.14, allocations: 8 kB / 4.069 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/10.15, allocations: 275.6 kB / 4.07 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005387/10.15, allocations: 1.207 MB / 4.071 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/10.15, allocations: 179.4 kB / 4.071 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/10.15, allocations: 39.97 kB / 4.071 GB, free: 108.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/10.15, allocations: 4 kB / 4.071 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001862/10.15, allocations: 1.057 MB / 4.072 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/10.15, allocations: 4 kB / 4.072 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/10.15, allocations: 4 kB / 4.072 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/10.15, allocations: 259.7 kB / 4.072 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/10.15, allocations: 11.92 kB / 4.072 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/10.15, allocations: 163.5 kB / 4.073 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/10.15, allocations: 43.92 kB / 4.073 GB, free: 106.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.0002968/10.15, allocations: 120.8 kB / 4.073 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/10.15, allocations: 94.88 kB / 4.073 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/10.16, allocations: 1.201 MB / 4.074 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/10.16, allocations: 8 kB / 4.074 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/10.16, allocations: 0 / 4.074 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/10.16, allocations: 3.984 kB / 4.074 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/10.16, allocations: 2.585 MB / 4.076 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/10.16, allocations: 4 kB / 4.076 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/10.16, allocations: 260.1 kB / 4.077 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.526e-05/10.16, allocations: 11.94 kB / 4.077 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.581e-05/10.16, allocations: 15.98 kB / 4.077 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006471/10.16, allocations: 1.199 MB / 4.078 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/10.16, allocations: 7.938 kB / 4.078 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/10.17, allocations: 1.488 MB / 4.079 GB, free: 99.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009466/10.17, allocations: 307.4 kB / 4.08 GB, free: 99.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/10.17, allocations: 7.953 kB / 4.08 GB, free: 99.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/10.17, allocations: 159.7 kB / 4.08 GB, free: 99.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/10.17, allocations: 56.44 kB / 4.08 GB, free: 98.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/10.17, allocations: 47.91 kB / 4.08 GB, free: 98.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008049/10.17, allocations: 443.1 kB / 4.08 GB, free: 98.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.72e-07/10.17, allocations: 0 / 4.08 GB, free: 98.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00317/10.17, allocations: 0.6706 MB / 4.081 GB, free: 97.83 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.003911/10.18, allocations: 2.61 MB / 4.084 GB, free: 95.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002764/10.18, allocations: 1.615 MB / 4.085 GB, free: 93.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/10.18, allocations: 4 kB / 4.085 GB, free: 93.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008457/10.18, allocations: 0.5217 MB / 4.086 GB, free: 93.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/10.18, allocations: 426 kB / 4.086 GB, free: 92.83 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/10.2, allocations: 2.325 MB / 4.088 GB, free: 90.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/10.2, allocations: 1.115 MB / 4.089 GB, free: 89.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002303/10.2, allocations: 442.1 kB / 4.09 GB, free: 88.86 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/10.2, allocations: 87.31 kB / 4.09 GB, free: 88.77 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/10.2, allocations: 0 / 4.09 GB, free: 88.77 MB / 0.948 GB Notification: Performance of Templates: time 0.04459/10.24, allocations: 31.12 MB / 4.12 GB, free: 57.92 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)