Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001038/0.001038, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0011/0.0011, allocations: 188 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9816/0.9816, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.77 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1687, allocations: 80.93 MB / 0.5839 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5169/0.6856, allocations: 197.4 MB / 0.7766 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01156/0.6972, allocations: 7.612 MB / 0.7841 GB, free: 280 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.6993, allocations: 39.75 kB / 0.7841 GB, free: 240 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.7014, allocations: 0.6024 MB / 0.7847 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005912/0.7073, allocations: 1.836 MB / 0.7865 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.7105, allocations: 1.073 MB / 0.7875 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003952/0.7145, allocations: 2.689 MB / 0.7902 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.7158, allocations: 0.9794 MB / 0.7911 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00374/0.7196, allocations: 1.564 MB / 0.7926 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.7213, allocations: 0.8573 MB / 0.7935 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002072/0.7215, allocations: 104 kB / 0.7936 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.725, allocations: 1.902 MB / 0.7954 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004012/0.7255, allocations: 330.9 kB / 0.7958 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007983/0.7263, allocations: 0.618 MB / 0.7964 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003405/0.7297, allocations: 2.209 MB / 0.7985 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7297, allocations: 0 / 0.7985 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7297, allocations: 4 kB / 0.7985 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.7297, allocations: 0 / 0.7985 GB, free: 1.449 MB / 0.6075 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.003858/0.7336, allocations: 1.668 MB / 0.8001 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.7336, allocations: 15.97 kB / 0.8002 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.7361, allocations: 438.1 kB / 0.8006 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/0.7379, allocations: 0.9019 MB / 0.8015 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006584/0.7385, allocations: 173.8 kB / 0.8016 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.7387, allocations: 75.94 kB / 0.8017 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.7412, allocations: 1.087 MB / 0.8028 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.7412, allocations: 0 / 0.8028 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/0.7413, allocations: 32 kB / 0.8028 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.7413, allocations: 33.98 kB / 0.8028 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.7445, allocations: 1.191 MB / 0.804 GB, free: 11.72 MB / 0.6231 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.006704/0.7512, allocations: 4.116 MB / 0.808 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.754, allocations: 0.8616 MB / 0.8088 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.7554, allocations: 0.4997 MB / 0.8093 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008613/0.7562, allocations: 0.6331 MB / 0.81 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/0.7579, allocations: 0.5991 MB / 0.8105 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.435e-06/0.7579, allocations: 0 / 0.8105 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.00434/0.7622, allocations: 1.403 MB / 0.8119 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.7623, allocations: 93.67 kB / 0.812 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.7633, allocations: 0.8317 MB / 0.8128 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.409e-05/0.7634, allocations: 37.7 kB / 0.8128 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.7638, allocations: 436.3 kB / 0.8133 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.764, allocations: 185.3 kB / 0.8134 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.7642, allocations: 134 kB / 0.8136 GB, free: 1.402 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7643, allocations: 329.9 kB / 0.8139 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.7656, allocations: 426.8 kB / 0.8143 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.767, allocations: 0.5525 MB / 0.8148 GB, free: 60 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002538/0.7696, allocations: 0.9015 MB / 0.8157 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7696, allocations: 112 / 0.8157 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003044/0.7726, allocations: 1.093 MB / 0.8168 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.7727, allocations: 29.7 kB / 0.8168 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.7727, allocations: 4 kB / 0.8168 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.7727, allocations: 4 kB / 0.8168 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.7742, allocations: 231.8 kB / 0.817 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006839/0.7749, allocations: 1.184 MB / 0.8182 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.776, allocations: 179.4 kB / 0.8184 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.7761, allocations: 27.97 kB / 0.8184 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001574/0.7777, allocations: 0.618 MB / 0.819 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001364/0.7791, allocations: 0.5447 MB / 0.8195 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002473/0.7816, allocations: 0.8898 MB / 0.8204 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.008e-06/0.7816, allocations: 0.9375 kB / 0.8204 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002972/0.7846, allocations: 1.077 MB / 0.8214 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.7846, allocations: 37.69 kB / 0.8215 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7846, allocations: 4 kB / 0.8215 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.423e-06/0.7846, allocations: 4 kB / 0.8215 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.7857, allocations: 203.9 kB / 0.8217 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7857, allocations: 4 kB / 0.8217 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.7869, allocations: 155.5 kB / 0.8218 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.171e-05/0.7869, allocations: 27.98 kB / 0.8219 GB, free: 8.668 MB / 0.6387 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002721/0.7872, allocations: 219.5 kB / 0.8221 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.7874, allocations: 98.78 kB / 0.8222 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/0.7906, allocations: 1.139 MB / 0.8233 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.7906, allocations: 4 kB / 0.8233 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.7906, allocations: 0 / 0.8233 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.7906, allocations: 8.062 kB / 0.8233 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004755/0.7954, allocations: 2.333 MB / 0.8256 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.7954, allocations: 4 kB / 0.8256 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.7965, allocations: 196 kB / 0.8258 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.7965, allocations: 4 kB / 0.8258 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.144e-05/0.7966, allocations: 23.98 kB / 0.8258 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005639/0.7972, allocations: 1.192 MB / 0.8269 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7972, allocations: 3.984 kB / 0.827 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.8002, allocations: 1.216 MB / 0.8281 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/0.8007, allocations: 293 kB / 0.8284 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.8009, allocations: 19.94 kB / 0.8284 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.802, allocations: 135.8 kB / 0.8286 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.8022, allocations: 56.31 kB / 0.8286 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/0.8023, allocations: 31.97 kB / 0.8286 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007712/0.8031, allocations: 0.5782 MB / 0.8292 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8031, allocations: 0 / 0.8292 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001389/0.8045, allocations: 495 kB / 0.8297 GB, free: 436 kB / 0.6387 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006722/0.8052, allocations: 289.3 kB / 0.83 GB, free: 152 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005132/0.8103, allocations: 1.677 MB / 0.8316 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/0.8103, allocations: 0 / 0.8316 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.812, allocations: 0.5651 MB / 0.8322 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/0.8142, allocations: 444.9 kB / 0.8326 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.819, allocations: 2.252 MB / 0.8348 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/0.8197, allocations: 1.043 MB / 0.8358 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001408/0.8211, allocations: 286.7 kB / 0.8361 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.8214, allocations: 83.41 kB / 0.8361 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of SimCode: time 8.12e-07/0.8214, allocations: 0 / 0.8361 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of Templates: time 0.03205/0.8535, allocations: 19.2 MB / 0.8549 GB, free: 6.766 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)