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.001264/0.001263, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001298/0.001298, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7613/0.7613, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.91 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2953, allocations: 80.92 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5043/0.7996, allocations: 199.9 MB / 0.781 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009406/0.8091, allocations: 7.671 MB / 0.7885 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.8103, allocations: 42.19 kB / 0.7885 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.8118, allocations: 0.6879 MB / 0.7892 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.8156, allocations: 1.976 MB / 0.7911 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.818, allocations: 1.171 MB / 0.7923 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002665/0.8206, allocations: 2.684 MB / 0.7949 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.8218, allocations: 0.985 MB / 0.7959 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.825, allocations: 1.567 MB / 0.7974 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.8262, allocations: 0.8199 MB / 0.7982 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.8263, allocations: 103.9 kB / 0.7983 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.8292, allocations: 1.839 MB / 0.8001 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.8295, allocations: 331.5 kB / 0.8004 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005668/0.83, allocations: 0.6138 MB / 0.801 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.8328, allocations: 2.157 MB / 0.8031 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8328, allocations: 2.969 kB / 0.8031 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8329, allocations: 0 / 0.8031 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.8329, allocations: 0 / 0.8031 GB, free: 0.832 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.003202/0.8361, allocations: 1.666 MB / 0.8047 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.8361, allocations: 15.8 kB / 0.8048 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.8382, allocations: 437.5 kB / 0.8052 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.8398, allocations: 0.9497 MB / 0.8061 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.8399, allocations: 61.42 kB / 0.8062 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.84, allocations: 72.5 kB / 0.8062 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.842, allocations: 1.08 MB / 0.8073 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.842, allocations: 0 / 0.8073 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.8421, allocations: 37.47 kB / 0.8073 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.8422, allocations: 33.11 kB / 0.8073 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.8448, allocations: 1.174 MB / 0.8085 GB, free: 15.44 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.005459/0.8503, allocations: 4.111 MB / 0.8125 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.8524, allocations: 0.832 MB / 0.8133 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.8535, allocations: 499 kB / 0.8138 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007636/0.8542, allocations: 0.6304 MB / 0.8144 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.8555, allocations: 0.5881 MB / 0.815 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=57): time 1.914e-06/0.8555, allocations: 0.7812 kB / 0.815 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=57): time 0.003603/0.8591, allocations: 1.384 MB / 0.8163 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.8592, allocations: 87.98 kB / 0.8164 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000905/0.8601, allocations: 0.8257 MB / 0.8172 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.326e-05/0.8602, allocations: 41.14 kB / 0.8173 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.8605, allocations: 430.9 kB / 0.8177 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.8606, allocations: 201.6 kB / 0.8179 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.8609, allocations: 127.1 kB / 0.818 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.861, allocations: 329.7 kB / 0.8183 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.862, allocations: 416.2 kB / 0.8187 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.8632, allocations: 0.5352 MB / 0.8192 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.8653, allocations: 0.8791 MB / 0.8201 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.8653, allocations: 2.094 kB / 0.8201 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002663/0.8679, allocations: 1.069 MB / 0.8211 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.868, allocations: 34.36 kB / 0.8212 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.868, allocations: 1.328 kB / 0.8212 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.868, allocations: 9.219 kB / 0.8212 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.8694, allocations: 231.8 kB / 0.8214 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008162/0.8702, allocations: 1.19 MB / 0.8226 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.8714, allocations: 140 kB / 0.8227 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/0.8715, allocations: 30.12 kB / 0.8227 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001606/0.8731, allocations: 0.6056 MB / 0.8233 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001291/0.8744, allocations: 0.534 MB / 0.8238 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002099/0.8765, allocations: 0.8784 MB / 0.8247 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/0.8765, allocations: 0 / 0.8247 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002605/0.8791, allocations: 1.055 MB / 0.8257 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.8792, allocations: 39.52 kB / 0.8258 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.8792, allocations: 6.234 kB / 0.8258 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.8792, allocations: 4.906 kB / 0.8258 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009536/0.8802, allocations: 198.1 kB / 0.826 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.8802, allocations: 10.53 kB / 0.826 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.8812, allocations: 123.8 kB / 0.8261 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.8813, allocations: 32.09 kB / 0.8261 GB, free: 8.43 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.0002894/0.8816, allocations: 217.9 kB / 0.8263 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.8817, allocations: 97.19 kB / 0.8264 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002929/0.8847, allocations: 1.117 MB / 0.8275 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.8847, allocations: 14.31 kB / 0.8275 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8847, allocations: 0 / 0.8275 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.8847, allocations: 9.219 kB / 0.8275 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004556/0.8893, allocations: 2.304 MB / 0.8298 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.8893, allocations: 2.531 kB / 0.8298 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009693/0.8903, allocations: 195 kB / 0.83 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.8903, allocations: 5.156 kB / 0.83 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.8904, allocations: 24.34 kB / 0.83 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005805/0.891, allocations: 1.19 MB / 0.8312 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.891, allocations: 2.531 kB / 0.8312 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/0.8937, allocations: 1.199 MB / 0.8323 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006784/0.8944, allocations: 287.3 kB / 0.8326 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.8946, allocations: 17.58 kB / 0.8326 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.8957, allocations: 101.7 kB / 0.8327 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.8959, allocations: 63.91 kB / 0.8328 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.679e-05/0.896, allocations: 31.25 kB / 0.8328 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008913/0.8969, allocations: 0.5801 MB / 0.8334 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8969, allocations: 0 / 0.8334 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001574/0.8984, allocations: 484.3 kB / 0.8338 GB, free: 3.027 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.0006805/0.8991, allocations: 284.4 kB / 0.8341 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004442/0.9036, allocations: 1.615 MB / 0.8357 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.9036, allocations: 7.938 kB / 0.8357 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.9052, allocations: 0.5495 MB / 0.8362 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.9072, allocations: 442 kB / 0.8367 GB, free: 192 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.9114, allocations: 1.852 MB / 0.8385 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/0.9121, allocations: 1.039 MB / 0.8395 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001087/0.9132, allocations: 287.6 kB / 0.8397 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.9135, allocations: 87.41 kB / 0.8398 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.9135, allocations: 0 / 0.8398 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of Templates: time 0.03255/0.946, allocations: 19.47 MB / 0.8588 GB, free: 9.691 MB / 0.6231 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)