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.001221/0.001221, allocations: 107 kB / 16.36 MB, free: 6.336 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.001209/0.001209, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8335/0.8335, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3747, allocations: 80.18 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5747/0.9494, allocations: 200 MB / 0.7768 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.96, allocations: 7.645 MB / 0.7842 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.9621, allocations: 44.44 kB / 0.7843 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.9642, allocations: 0.6904 MB / 0.7849 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005489/0.9698, allocations: 1.975 MB / 0.7869 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.9729, allocations: 1.167 MB / 0.788 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003795/0.9767, allocations: 2.691 MB / 0.7906 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.9782, allocations: 0.9828 MB / 0.7916 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003938/0.9821, allocations: 1.565 MB / 0.7931 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.9839, allocations: 0.8212 MB / 0.7939 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.9842, allocations: 103.8 kB / 0.794 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003905/0.9881, allocations: 1.835 MB / 0.7958 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000503/0.9886, allocations: 339.7 kB / 0.7961 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.9897, allocations: 0.6053 MB / 0.7967 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004109/0.9938, allocations: 2.161 MB / 0.7988 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.9939, allocations: 3.375 kB / 0.7988 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9939, allocations: 0 / 0.7988 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.9939, allocations: 0.6875 kB / 0.7988 GB, free: 0.9766 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.003678/0.9976, allocations: 1.66 MB / 0.8005 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.9976, allocations: 9.75 kB / 0.8005 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/1, allocations: 444.8 kB / 0.8009 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/1.002, allocations: 0.9529 MB / 0.8018 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/1.002, allocations: 55.2 kB / 0.8019 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.002, allocations: 75.91 kB / 0.802 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/1.004, allocations: 1.078 MB / 0.803 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.004, allocations: 6 kB / 0.803 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/1.004, allocations: 32.19 kB / 0.803 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/1.004, allocations: 31.14 kB / 0.8031 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/1.007, allocations: 1.179 MB / 0.8042 GB, free: 15.58 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.006451/1.014, allocations: 4.103 MB / 0.8082 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/1.016, allocations: 0.8446 MB / 0.8091 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/1.017, allocations: 496.9 kB / 0.8095 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007942/1.018, allocations: 0.6343 MB / 0.8101 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/1.019, allocations: 0.5836 MB / 0.8107 GB, free: 13 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 2.885e-06/1.019, allocations: 1.062 kB / 0.8107 GB, free: 13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003959/1.023, allocations: 1.388 MB / 0.8121 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/1.023, allocations: 83.23 kB / 0.8122 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/1.024, allocations: 0.8322 MB / 0.813 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/1.025, allocations: 36.89 kB / 0.813 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/1.025, allocations: 433.6 kB / 0.8134 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/1.025, allocations: 193.7 kB / 0.8136 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/1.025, allocations: 133 kB / 0.8137 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.025, allocations: 328.9 kB / 0.814 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/1.027, allocations: 413.9 kB / 0.8144 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/1.028, allocations: 0.5364 MB / 0.815 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/1.03, allocations: 0.8853 MB / 0.8158 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.03, allocations: 0 / 0.8158 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002728/1.033, allocations: 1.066 MB / 0.8169 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/1.033, allocations: 36.48 kB / 0.8169 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.033, allocations: 3.219 kB / 0.8169 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.033, allocations: 2.844 kB / 0.8169 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.034, allocations: 231.5 kB / 0.8171 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006702/1.035, allocations: 1.195 MB / 0.8183 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/1.036, allocations: 141.1 kB / 0.8184 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/1.036, allocations: 26.05 kB / 0.8185 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001404/1.037, allocations: 0.6015 MB / 0.819 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001297/1.039, allocations: 0.5309 MB / 0.8196 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002381/1.041, allocations: 0.8737 MB / 0.8204 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.227e-06/1.041, allocations: 1.547 kB / 0.8204 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003059/1.044, allocations: 1.064 MB / 0.8215 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/1.044, allocations: 33.08 kB / 0.8215 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.044, allocations: 3.375 kB / 0.8215 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/1.044, allocations: 2.562 kB / 0.8215 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009613/1.045, allocations: 199.7 kB / 0.8217 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/1.045, allocations: 12.23 kB / 0.8217 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/1.046, allocations: 131.7 kB / 0.8218 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/1.046, allocations: 29.92 kB / 0.8218 GB, free: 9.59 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.0002961/1.047, allocations: 213.9 kB / 0.822 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/1.047, allocations: 98.25 kB / 0.8221 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/1.05, allocations: 1.117 MB / 0.8232 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/1.05, allocations: 5.281 kB / 0.8232 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.05, allocations: 3.938 kB / 0.8232 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/1.05, allocations: 0 / 0.8232 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/1.055, allocations: 2.298 MB / 0.8255 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.055, allocations: 6.625 kB / 0.8255 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/1.056, allocations: 194.5 kB / 0.8257 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/1.056, allocations: 5.125 kB / 0.8257 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/1.056, allocations: 23.67 kB / 0.8257 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006029/1.056, allocations: 1.194 MB / 0.8269 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.056, allocations: 2.281 kB / 0.8269 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/1.059, allocations: 1.199 MB / 0.828 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000557/1.06, allocations: 286.9 kB / 0.8283 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.06, allocations: 16.38 kB / 0.8283 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009624/1.061, allocations: 100.8 kB / 0.8284 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.061, allocations: 64.89 kB / 0.8285 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/1.061, allocations: 37.66 kB / 0.8285 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00077/1.062, allocations: 0.5718 MB / 0.8291 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.062, allocations: 0 / 0.8291 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001393/1.064, allocations: 486.3 kB / 0.8295 GB, free: 4.703 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.0006334/1.064, allocations: 296.3 kB / 0.8298 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004331/1.069, allocations: 1.615 MB / 0.8314 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.069, allocations: 3.938 kB / 0.8314 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/1.07, allocations: 0.5534 MB / 0.832 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.072, allocations: 435.3 kB / 0.8324 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/1.076, allocations: 1.857 MB / 0.8342 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/1.077, allocations: 1.043 MB / 0.8352 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001117/1.078, allocations: 297.5 kB / 0.8355 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/1.078, allocations: 83.41 kB / 0.8356 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/1.078, allocations: 0 / 0.8356 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.03168/1.11, allocations: 19.46 MB / 0.8546 GB, free: 12.06 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)