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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008283/0.0008283, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008375/0.0008374, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8637/0.8637, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002918, allocations: 12.7 kB / 0.5068 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1431, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.3889/0.532, allocations: 166.7 MB / 0.75 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008809/0.5408, allocations: 7.033 MB / 0.7569 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008731/0.5417, allocations: 43.69 kB / 0.7569 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.5433, allocations: 0.6104 MB / 0.7575 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.547, allocations: 1.796 MB / 0.7593 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.5496, allocations: 1.152 MB / 0.7604 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001985/0.5516, allocations: 1.564 MB / 0.7619 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008921/0.5525, allocations: 0.7558 MB / 0.7627 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.5543, allocations: 1.086 MB / 0.7637 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006176/0.5549, allocations: 0.5523 MB / 0.7643 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-05/0.555, allocations: 40 kB / 0.7643 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.5569, allocations: 1.1 MB / 0.7654 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.5571, allocations: 239.1 kB / 0.7656 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.5573, allocations: 245.1 kB / 0.7658 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.5586, allocations: 1.407 MB / 0.7672 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.5586, allocations: 0 / 0.7672 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.836e-06/0.5586, allocations: 0 / 0.7672 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.5586, allocations: 3.938 kB / 0.7672 GB, free: 4.168 MB / 0.5762 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.002828/0.5615, allocations: 1.452 MB / 0.7686 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.5615, allocations: 8.031 kB / 0.7686 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/0.5637, allocations: 474.1 kB / 0.7691 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.565, allocations: 0.8597 MB / 0.7699 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000596/0.5656, allocations: 193.8 kB / 0.7701 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.5657, allocations: 72 kB / 0.7702 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.5678, allocations: 1.13 MB / 0.7713 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5679, allocations: 0 / 0.7713 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.846e-05/0.5679, allocations: 28 kB / 0.7713 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.568, allocations: 34 kB / 0.7713 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002933/0.5709, allocations: 1.265 MB / 0.7726 GB, free: 14.55 MB / 0.5919 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.00555/0.5765, allocations: 4.18 MB / 0.7767 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.5789, allocations: 0.9464 MB / 0.7776 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005639/0.5795, allocations: 490 kB / 0.7781 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001424/0.581, allocations: 0.6343 MB / 0.7787 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.033e-06/0.581, allocations: 0 / 0.7787 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003978/0.585, allocations: 1.52 MB / 0.7802 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.585, allocations: 81.67 kB / 0.7802 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/0.5859, allocations: 0.8356 MB / 0.7811 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.586, allocations: 45.7 kB / 0.7811 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.5863, allocations: 420.4 kB / 0.7815 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.5864, allocations: 193.1 kB / 0.7817 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.5865, allocations: 12 kB / 0.7817 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.5866, allocations: 330 kB / 0.782 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.5878, allocations: 452.8 kB / 0.7824 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.5891, allocations: 0.5799 MB / 0.783 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.5903, allocations: 0.4919 MB / 0.7835 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5903, allocations: 3.938 kB / 0.7835 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002673/0.593, allocations: 1.159 MB / 0.7846 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002383/0.5932, allocations: 0.7344 MB / 0.7853 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5932, allocations: 0 / 0.7853 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5932, allocations: 4 kB / 0.7853 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.5946, allocations: 252 kB / 0.7856 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005793/0.5951, allocations: 1.192 MB / 0.7867 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.5962, allocations: 187.2 kB / 0.7869 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/0.5963, allocations: 35.97 kB / 0.787 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.5963, allocations: 4 kB / 0.787 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002605/0.5989, allocations: 1.053 MB / 0.788 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.5989, allocations: 4.031 kB / 0.788 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.5989, allocations: 4 kB / 0.788 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009494/0.5999, allocations: 231.6 kB / 0.7882 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.5999, allocations: 4.781 kB / 0.7882 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009309/0.6008, allocations: 183.2 kB / 0.7884 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.6009, allocations: 35.91 kB / 0.7884 GB, free: 13.68 MB / 0.6075 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.0004053/0.6013, allocations: 337 kB / 0.7888 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.6014, allocations: 98.78 kB / 0.7888 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/0.6043, allocations: 1.214 MB / 0.79 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.6044, allocations: 4 kB / 0.79 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6044, allocations: 0 / 0.79 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.6044, allocations: 11.94 kB / 0.79 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004214/0.6086, allocations: 2.403 MB / 0.7924 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6086, allocations: 1.062 kB / 0.7924 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009673/0.6096, allocations: 220 kB / 0.7926 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.6096, allocations: 7.938 kB / 0.7926 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.6097, allocations: 20.48 kB / 0.7926 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004888/0.6102, allocations: 1.192 MB / 0.7938 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.6102, allocations: 4 kB / 0.7938 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.6129, allocations: 1.424 MB / 0.7952 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003937/0.6133, allocations: 295.5 kB / 0.7955 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.6135, allocations: 19.95 kB / 0.7955 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.6145, allocations: 155.8 kB / 0.7956 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.6147, allocations: 64.23 kB / 0.7957 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/0.6147, allocations: 35.97 kB / 0.7957 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006204/0.6154, allocations: 0.5743 MB / 0.7963 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6154, allocations: 0 / 0.7963 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001085/0.6165, allocations: 487 kB / 0.7968 GB, free: 4.852 MB / 0.6075 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.0004988/0.617, allocations: 300.8 kB / 0.797 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00431/0.6213, allocations: 1.75 MB / 0.7988 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.6213, allocations: 0 / 0.7988 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.6228, allocations: 0.6003 MB / 0.7993 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001918/0.6247, allocations: 449.2 kB / 0.7998 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.6284, allocations: 2.229 MB / 0.8019 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.629, allocations: 1.062 MB / 0.803 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001082/0.6301, allocations: 291.6 kB / 0.8033 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.6303, allocations: 87.34 kB / 0.8033 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.6303, allocations: 4 kB / 0.8034 GB, free: 14 MB / 0.6231 GB Notification: Performance of Templates: time 0.02541/0.6557, allocations: 18.23 MB / 0.8212 GB, free: 12 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: