Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009101/0.009101, allocations: 169.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7043/0.7043, allocations: 132.3 MB / 148.1 MB, free: 248 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.2 MB / 403.2 MB, free: 6.758 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.0009252, allocations: 92.98 kB / 485.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003895, allocations: 16 kB / 0.5641 GB, free: 2.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4756, allocations: 81.58 MB / 0.6438 GB, free: 39.43 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.126/5.601, allocations: 2.128 GB / 2.772 GB, free: 92.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/5.602, allocations: 88.64 kB / 2.772 GB, free: 92.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.066/8.668, allocations: 0.7976 GB / 3.57 GB, free: 67.96 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/8.668, allocations: 0 / 3.57 GB, free: 67.96 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002325/8.668, allocations: 24 kB / 3.57 GB, free: 67.94 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.007146/8.675, allocations: 1.749 MB / 3.572 GB, free: 66.13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/8.675, allocations: 8.031 kB / 3.572 GB, free: 66.12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/8.678, allocations: 439.5 kB / 3.572 GB, free: 65.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/8.682, allocations: 1.05 MB / 3.573 GB, free: 64.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006171/8.683, allocations: 193.8 kB / 3.573 GB, free: 64.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/8.683, allocations: 72 kB / 3.573 GB, free: 64.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/8.686, allocations: 1.116 MB / 3.574 GB, free: 63.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/8.686, allocations: 7.938 kB / 3.574 GB, free: 63.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/8.686, allocations: 28 kB / 3.574 GB, free: 63.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/8.686, allocations: 33.98 kB / 3.574 GB, free: 63.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003142/8.689, allocations: 1.206 MB / 3.576 GB, free: 61.93 MB / 0.6823 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.00882/8.698, allocations: 4.241 MB / 3.58 GB, free: 57.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/8.701, allocations: 0.9392 MB / 3.581 GB, free: 56.46 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007631/8.702, allocations: 0.6409 MB / 3.581 GB, free: 55.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001523/8.703, allocations: 0.6382 MB / 3.582 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 4.238e-06/8.703, allocations: 0 / 3.582 GB, free: 55.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.004432/8.708, allocations: 1.54 MB / 3.583 GB, free: 53.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/8.708, allocations: 93.59 kB / 3.584 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/8.709, allocations: 0.7292 MB / 3.584 GB, free: 52.63 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/8.709, allocations: 41.7 kB / 3.584 GB, free: 52.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004634/8.71, allocations: 432.3 kB / 3.585 GB, free: 52.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/8.71, allocations: 189.2 kB / 3.585 GB, free: 51.97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/8.71, allocations: 16 kB / 3.585 GB, free: 51.96 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001051/8.71, allocations: 329.9 kB / 3.585 GB, free: 51.63 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/8.711, allocations: 464.9 kB / 3.586 GB, free: 51.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/8.713, allocations: 0.6066 MB / 3.586 GB, free: 50.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/8.714, allocations: 0.4917 MB / 3.587 GB, free: 50.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/8.714, allocations: 0 / 3.587 GB, free: 50.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003106/8.717, allocations: 1.179 MB / 3.588 GB, free: 48.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002445/8.718, allocations: 0.7305 MB / 3.589 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/8.718, allocations: 0 / 3.589 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.879e-05/8.718, allocations: 7.953 kB / 3.589 GB, free: 48.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/8.719, allocations: 239.7 kB / 3.589 GB, free: 47.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006735/8.72, allocations: 1.198 MB / 3.59 GB, free: 46.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/8.721, allocations: 199.3 kB / 3.59 GB, free: 46.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/8.721, allocations: 39.92 kB / 3.59 GB, free: 46.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/8.722, allocations: 4 kB / 3.59 GB, free: 46.31 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002649/8.724, allocations: 1.065 MB / 3.591 GB, free: 45.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/8.724, allocations: 8 kB / 3.591 GB, free: 45.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/8.724, allocations: 7.938 kB / 3.591 GB, free: 45.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/8.725, allocations: 223.9 kB / 3.591 GB, free: 45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/8.725, allocations: 7.938 kB / 3.592 GB, free: 45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/8.727, allocations: 195.2 kB / 3.592 GB, free: 44.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.721e-05/8.727, allocations: 27.98 kB / 3.592 GB, free: 44.78 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * 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.0007715/8.728, allocations: 341 kB / 3.592 GB, free: 44.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/8.728, allocations: 106.8 kB / 3.592 GB, free: 44.33 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003293/8.731, allocations: 1.227 MB / 3.593 GB, free: 43.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/8.731, allocations: 8 kB / 3.593 GB, free: 43.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/8.731, allocations: 4 kB / 3.593 GB, free: 43.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/8.731, allocations: 3.984 kB / 3.593 GB, free: 43.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/8.737, allocations: 2.417 MB / 3.596 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/8.737, allocations: 4.344 kB / 3.596 GB, free: 40.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/8.738, allocations: 223.7 kB / 3.596 GB, free: 40.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.579e-05/8.738, allocations: 8 kB / 3.596 GB, free: 40.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/8.738, allocations: 23.98 kB / 3.596 GB, free: 40.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005117/8.739, allocations: 1.184 MB / 3.597 GB, free: 39.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/8.739, allocations: 4 kB / 3.597 GB, free: 39.08 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003054/8.742, allocations: 1.447 MB / 3.599 GB, free: 37.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007812/8.743, allocations: 295.5 kB / 3.599 GB, free: 37.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/8.743, allocations: 16 kB / 3.599 GB, free: 37.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/8.745, allocations: 159.8 kB / 3.599 GB, free: 37.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/8.745, allocations: 60.34 kB / 3.599 GB, free: 36.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/8.745, allocations: 35.95 kB / 3.599 GB, free: 36.94 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001002/8.746, allocations: 0.5782 MB / 3.6 GB, free: 36.35 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/8.746, allocations: 4 kB / 3.6 GB, free: 36.35 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002944/8.749, allocations: 0.632 MB / 3.6 GB, free: 35.71 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.003482/8.752, allocations: 1.693 MB / 3.602 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00484/8.757, allocations: 1.746 MB / 3.604 GB, free: 32.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/8.757, allocations: 4 kB / 3.604 GB, free: 32.19 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/8.759, allocations: 0.5964 MB / 3.604 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/8.762, allocations: 447.3 kB / 3.605 GB, free: 31.15 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/8.767, allocations: 2.249 MB / 3.607 GB, free: 28.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/8.767, allocations: 1.062 MB / 3.608 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00172/8.769, allocations: 302.3 kB / 3.608 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/8.77, allocations: 83.39 kB / 3.608 GB, free: 27.37 MB / 0.6823 GB Notification: Performance of SimCode: time 1.613e-06/8.77, allocations: 0 / 3.608 GB, free: 27.37 MB / 0.6823 GB Notification: Performance of Templates: time 0.05454/8.824, allocations: 36.23 MB / 3.644 GB, free: 7.328 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)