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.629/1.629, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.001495/0.001495, allocations: 180.5 kB / 373 MB, free: 10.15 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.654/1.654, allocations: 205.4 MB / 0.6317 GB, free: 9.887 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.000742/0.0007423, allocations: 98.28 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004252, allocations: 15.03 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2782, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.496/5.775, allocations: 2.089 GB / 3.07 GB, free: 227.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/5.775, allocations: 87.95 kB / 3.07 GB, free: 227.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.794/9.569, allocations: 0.9906 GB / 4.061 GB, free: 166.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.773e-06/9.569, allocations: 3.062 kB / 4.061 GB, free: 166.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001112/9.569, allocations: 31.36 kB / 4.061 GB, free: 166.6 MB / 0.9636 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.00651/9.575, allocations: 1.89 MB / 4.063 GB, free: 166.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/9.575, allocations: 9.75 kB / 4.063 GB, free: 166.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003458/9.579, allocations: 0.5403 MB / 4.063 GB, free: 166 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/9.582, allocations: 1.096 MB / 4.064 GB, free: 165.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007229/9.583, allocations: 200.5 kB / 4.064 GB, free: 165.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/9.583, allocations: 85.84 kB / 4.064 GB, free: 165.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/9.586, allocations: 1.342 MB / 4.066 GB, free: 165.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/9.586, allocations: 5.266 kB / 4.066 GB, free: 165.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/9.586, allocations: 34.98 kB / 4.066 GB, free: 165.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.225e-05/9.586, allocations: 54.88 kB / 4.066 GB, free: 165.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003921/9.59, allocations: 1.569 MB / 4.067 GB, free: 165.6 MB / 0.9636 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.007542/9.598, allocations: 4.099 MB / 4.071 GB, free: 164.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/9.6, allocations: 1.066 MB / 4.072 GB, free: 164 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/9.602, allocations: 0.7005 MB / 4.073 GB, free: 164 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/9.604, allocations: 0.6085 MB / 4.074 GB, free: 163.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/9.604, allocations: 41.62 kB / 4.074 GB, free: 163.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=78): time 7.003e-06/9.604, allocations: 0 / 4.074 GB, free: 163.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=78): time 0.007856/9.612, allocations: 1.927 MB / 4.076 GB, free: 163.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/9.612, allocations: 58.28 kB / 4.076 GB, free: 163.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/9.613, allocations: 0.8114 MB / 4.077 GB, free: 163.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002015/9.614, allocations: 44.61 kB / 4.077 GB, free: 163.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/9.614, allocations: 446 kB / 4.077 GB, free: 162.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000369/9.615, allocations: 272.2 kB / 4.077 GB, free: 162.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/9.615, allocations: 14.12 kB / 4.077 GB, free: 162.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001303/9.615, allocations: 337.7 kB / 4.078 GB, free: 162.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/9.617, allocations: 0.5668 MB / 4.078 GB, free: 162.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/9.62, allocations: 0.7132 MB / 4.079 GB, free: 162.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004851/9.625, allocations: 1.245 MB / 4.08 GB, free: 162.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/9.625, allocations: 0 / 4.08 GB, free: 162.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.006249/9.631, allocations: 1.444 MB / 4.081 GB, free: 162.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/9.631, allocations: 149.5 kB / 4.082 GB, free: 162 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/9.631, allocations: 3.875 kB / 4.082 GB, free: 162 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.69e-05/9.631, allocations: 9.078 kB / 4.082 GB, free: 162 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002553/9.634, allocations: 287.3 kB / 4.082 GB, free: 162 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008993/9.635, allocations: 1.194 MB / 4.083 GB, free: 160.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/9.637, allocations: 206.6 kB / 4.083 GB, free: 160.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/9.638, allocations: 45.75 kB / 4.083 GB, free: 160.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/9.638, allocations: 3.969 kB / 4.083 GB, free: 160.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005354/9.643, allocations: 1.343 MB / 4.085 GB, free: 160.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/9.643, allocations: 2.781 kB / 4.085 GB, free: 160.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/9.643, allocations: 4.719 kB / 4.085 GB, free: 160.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/9.645, allocations: 253.7 kB / 4.085 GB, free: 160.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/9.645, allocations: 9.25 kB / 4.085 GB, free: 160.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/9.648, allocations: 197.4 kB / 4.085 GB, free: 160.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/9.648, allocations: 37.36 kB / 4.085 GB, free: 160.7 MB / 0.9636 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * 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.001079/9.649, allocations: 378.6 kB / 4.085 GB, free: 160.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/9.649, allocations: 112.1 kB / 4.086 GB, free: 160.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005728/9.655, allocations: 1.45 MB / 4.087 GB, free: 160.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/9.655, allocations: 7.094 kB / 4.087 GB, free: 160.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/9.655, allocations: 0 / 4.087 GB, free: 160.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/9.655, allocations: 3.891 kB / 4.087 GB, free: 160.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009591/9.665, allocations: 2.924 MB / 4.09 GB, free: 160 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/9.665, allocations: 10.81 kB / 4.09 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/9.667, allocations: 257 kB / 4.09 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.348e-05/9.667, allocations: 6.125 kB / 4.09 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/9.667, allocations: 23.55 kB / 4.09 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006097/9.668, allocations: 1.19 MB / 4.091 GB, free: 158.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.445e-06/9.668, allocations: 8.656 kB / 4.091 GB, free: 158.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005445/9.673, allocations: 1.549 MB / 4.093 GB, free: 158.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/9.675, allocations: 316.9 kB / 4.093 GB, free: 158.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004762/9.675, allocations: 21.78 kB / 4.093 GB, free: 158.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/9.678, allocations: 172.7 kB / 4.093 GB, free: 158.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/9.678, allocations: 61.47 kB / 4.093 GB, free: 158.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/9.678, allocations: 38.62 kB / 4.093 GB, free: 158.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001617/9.68, allocations: 0.5678 MB / 4.094 GB, free: 158.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.2e-07/9.68, allocations: 0 / 4.094 GB, free: 158.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004547/9.684, allocations: 0.7514 MB / 4.095 GB, free: 158.2 MB / 0.9636 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * 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.005521/9.69, allocations: 2.36 MB / 4.097 GB, free: 157.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009519/9.699, allocations: 2.16 MB / 4.099 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/9.699, allocations: 0 / 4.099 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002968/9.702, allocations: 0.7131 MB / 4.1 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006002/9.708, allocations: 0.4996 MB / 4.1 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007433/9.716, allocations: 2.548 MB / 4.103 GB, free: 156.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/9.717, allocations: 1.094 MB / 4.104 GB, free: 155.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002295/9.719, allocations: 414.5 kB / 4.104 GB, free: 155.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/9.719, allocations: 90.38 kB / 4.104 GB, free: 155.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.082e-06/9.719, allocations: 2.219 kB / 4.104 GB, free: 155.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.06524/9.784, allocations: 46.22 MB / 4.149 GB, free: 153.8 MB / 0.9636 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)