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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001112/0.001112, allocations: 114.4 kB / 16.37 MB, free: 6 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.001079/0.001079, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.762/0.762, allocations: 132.2 MB / 423.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 71.88 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3628, allocations: 80.17 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4999/0.8628, allocations: 200 MB / 0.7768 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00987/0.8727, allocations: 7.648 MB / 0.7842 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.8744, allocations: 45.12 kB / 0.7843 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.8764, allocations: 0.6861 MB / 0.7849 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007177/0.8837, allocations: 1.986 MB / 0.7869 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.8866, allocations: 1.168 MB / 0.788 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003279/0.8899, allocations: 2.687 MB / 0.7906 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.8912, allocations: 0.9873 MB / 0.7916 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003313/0.8945, allocations: 1.573 MB / 0.7931 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.8958, allocations: 0.8145 MB / 0.7939 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.896, allocations: 106.2 kB / 0.794 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/0.8992, allocations: 1.839 MB / 0.7958 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.8995, allocations: 331 kB / 0.7962 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000724/0.9003, allocations: 0.6109 MB / 0.7967 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.9034, allocations: 2.159 MB / 0.7989 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9034, allocations: 0 / 0.7989 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9034, allocations: 0.9062 kB / 0.7989 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.9034, allocations: 0 / 0.7989 GB, free: 0.9883 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.003534/0.907, allocations: 1.667 MB / 0.8005 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.907, allocations: 8.438 kB / 0.8005 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.9093, allocations: 442.3 kB / 0.8009 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.9112, allocations: 0.9539 MB / 0.8018 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.9112, allocations: 56.84 kB / 0.8019 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.9113, allocations: 71.84 kB / 0.802 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.9136, allocations: 1.083 MB / 0.803 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.9136, allocations: 0.8438 kB / 0.803 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.318e-05/0.9137, allocations: 34.91 kB / 0.8031 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.9137, allocations: 30.03 kB / 0.8031 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.9164, allocations: 1.175 MB / 0.8042 GB, free: 15.6 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.006454/0.9229, allocations: 4.111 MB / 0.8083 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.9251, allocations: 0.8319 MB / 0.8091 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.9263, allocations: 497.4 kB / 0.8095 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007514/0.927, allocations: 0.6329 MB / 0.8102 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/0.9283, allocations: 0.5899 MB / 0.8107 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 3.316e-06/0.9284, allocations: 0.9062 kB / 0.8107 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003753/0.9321, allocations: 1.381 MB / 0.8121 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.9322, allocations: 86.11 kB / 0.8122 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009531/0.9332, allocations: 0.8298 MB / 0.813 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.25e-05/0.9333, allocations: 38.77 kB / 0.813 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.9336, allocations: 429.3 kB / 0.8134 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.9337, allocations: 205.2 kB / 0.8136 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.934, allocations: 131.8 kB / 0.8137 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9341, allocations: 326.8 kB / 0.8141 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.9352, allocations: 412.6 kB / 0.8144 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.9364, allocations: 0.5361 MB / 0.815 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.9385, allocations: 0.8823 MB / 0.8158 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9385, allocations: 3.938 kB / 0.8158 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002713/0.9412, allocations: 1.069 MB / 0.8169 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.9413, allocations: 39.7 kB / 0.8169 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.9413, allocations: 6.656 kB / 0.8169 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.9413, allocations: 6.391 kB / 0.8169 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.9426, allocations: 227.4 kB / 0.8171 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006779/0.9433, allocations: 1.19 MB / 0.8183 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.9444, allocations: 139 kB / 0.8184 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/0.9444, allocations: 32.33 kB / 0.8185 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001366/0.9458, allocations: 0.6 MB / 0.8191 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001136/0.947, allocations: 0.5268 MB / 0.8196 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002096/0.9491, allocations: 0.8744 MB / 0.8204 GB, free: 10 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/0.9491, allocations: 2.5 kB / 0.8204 GB, free: 10 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002693/0.9518, allocations: 1.064 MB / 0.8215 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.9518, allocations: 32.11 kB / 0.8215 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.9518, allocations: 2.125 kB / 0.8215 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/0.9518, allocations: 4.719 kB / 0.8215 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009912/0.9528, allocations: 191.9 kB / 0.8217 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.9529, allocations: 13.2 kB / 0.8217 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.9539, allocations: 125.7 kB / 0.8218 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/0.954, allocations: 35.38 kB / 0.8219 GB, free: 9.605 MB / 0.5919 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.0002471/0.9542, allocations: 214.7 kB / 0.8221 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.9544, allocations: 98.19 kB / 0.8222 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002841/0.9572, allocations: 1.118 MB / 0.8232 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.9573, allocations: 7.531 kB / 0.8233 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.9573, allocations: 3.938 kB / 0.8233 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.9573, allocations: 11.16 kB / 0.8233 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/0.9617, allocations: 2.297 MB / 0.8255 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.9617, allocations: 8.25 kB / 0.8255 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009797/0.9627, allocations: 190 kB / 0.8257 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.9627, allocations: 5.531 kB / 0.8257 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.9628, allocations: 19.77 kB / 0.8257 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005709/0.9634, allocations: 1.197 MB / 0.8269 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9634, allocations: 5.656 kB / 0.8269 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/0.9661, allocations: 1.199 MB / 0.8281 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/0.9666, allocations: 281 kB / 0.8283 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.9668, allocations: 19.77 kB / 0.8284 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009925/0.9678, allocations: 97.39 kB / 0.8284 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.9679, allocations: 67.7 kB / 0.8285 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.968, allocations: 31.06 kB / 0.8285 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007057/0.9687, allocations: 0.5769 MB / 0.8291 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.9687, allocations: 3.938 kB / 0.8291 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001231/0.97, allocations: 484.1 kB / 0.8296 GB, free: 4.711 MB / 0.5919 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.0005864/0.9706, allocations: 296.3 kB / 0.8299 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004304/0.9749, allocations: 1.612 MB / 0.8314 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.9749, allocations: 0 / 0.8314 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.9764, allocations: 0.5565 MB / 0.832 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.9783, allocations: 424.9 kB / 0.8324 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.9821, allocations: 1.864 MB / 0.8342 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.9827, allocations: 1.043 MB / 0.8352 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001066/0.9837, allocations: 292.7 kB / 0.8355 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.984, allocations: 83.41 kB / 0.8356 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of SimCode: time 1.664e-06/0.984, allocations: 0 / 0.8356 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of Templates: time 0.03163/1.016, allocations: 19.45 MB / 0.8546 GB, free: 12.11 MB / 0.6231 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)