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.001237/0.001237, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001398, allocations: 199.3 kB / 16.79 MB, free: 6.809 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.461/1.461, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9469/0.9469, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 64.75 kB / 0.5053 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1955, allocations: 80.92 MB / 0.5843 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5569/0.7524, allocations: 197.6 MB / 0.7773 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01302/0.7655, allocations: 7.731 MB / 0.7848 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002852/0.7684, allocations: 35.75 kB / 0.7849 GB, free: 60 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.7714, allocations: 0.5672 MB / 0.7854 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006665/0.7781, allocations: 1.837 MB / 0.7872 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.7812, allocations: 1.052 MB / 0.7883 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004507/0.7857, allocations: 3.476 MB / 0.7917 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.7872, allocations: 0.8342 MB / 0.7925 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/0.7906, allocations: 1.401 MB / 0.7938 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.7925, allocations: 0.8322 MB / 0.7946 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.7927, allocations: 52 kB / 0.7947 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/0.7967, allocations: 1.976 MB / 0.7966 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003824/0.7971, allocations: 278.9 kB / 0.7969 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008165/0.7979, allocations: 0.5595 MB / 0.7974 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.8, allocations: 1.583 MB / 0.799 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.8, allocations: 0 / 0.799 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8, allocations: 0 / 0.799 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.8001, allocations: 0 / 0.799 GB, free: 1.586 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.003835/0.8039, allocations: 1.668 MB / 0.8006 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.804, allocations: 8.031 kB / 0.8006 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.8064, allocations: 438.1 kB / 0.801 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.8082, allocations: 0.9096 MB / 0.8019 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006172/0.8088, allocations: 173.9 kB / 0.8021 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.8089, allocations: 72 kB / 0.8022 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.8114, allocations: 1.087 MB / 0.8032 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.8115, allocations: 3.938 kB / 0.8032 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.892e-05/0.8116, allocations: 28 kB / 0.8033 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.8116, allocations: 33.98 kB / 0.8033 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.8147, allocations: 1.194 MB / 0.8045 GB, free: 11.86 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.006648/0.8214, allocations: 4.108 MB / 0.8085 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.8238, allocations: 0.8671 MB / 0.8093 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.8251, allocations: 0.5036 MB / 0.8098 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008281/0.8259, allocations: 0.637 MB / 0.8104 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001548/0.8275, allocations: 0.5914 MB / 0.811 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.255e-06/0.8275, allocations: 0 / 0.811 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.004208/0.8317, allocations: 1.403 MB / 0.8124 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.8318, allocations: 89.59 kB / 0.8125 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.833, allocations: 0.8356 MB / 0.8133 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.495e-05/0.8331, allocations: 37.7 kB / 0.8133 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.8334, allocations: 436.3 kB / 0.8137 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.8336, allocations: 185.3 kB / 0.8139 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.8339, allocations: 138 kB / 0.814 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.834, allocations: 330 kB / 0.8143 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.8353, allocations: 422.8 kB / 0.8148 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.8367, allocations: 0.5409 MB / 0.8153 GB, free: 216 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.8391, allocations: 0.9054 MB / 0.8162 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8391, allocations: 0 / 0.8162 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002966/0.8421, allocations: 1.093 MB / 0.8172 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.8422, allocations: 36.2 kB / 0.8173 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.8422, allocations: 0 / 0.8173 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.8422, allocations: 4 kB / 0.8173 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.8436, allocations: 229.5 kB / 0.8175 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007738/0.8444, allocations: 1.199 MB / 0.8187 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.8456, allocations: 171.2 kB / 0.8188 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.716e-05/0.8457, allocations: 31.98 kB / 0.8189 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001577/0.8473, allocations: 0.618 MB / 0.8195 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001314/0.8486, allocations: 0.537 MB / 0.82 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002395/0.851, allocations: 0.8976 MB / 0.8209 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.098e-06/0.8511, allocations: 5.641 kB / 0.8209 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002957/0.854, allocations: 1.073 MB / 0.8219 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.8541, allocations: 37.64 kB / 0.8219 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.8541, allocations: 4 kB / 0.822 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.8541, allocations: 4.156 kB / 0.822 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.8552, allocations: 207.7 kB / 0.8222 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.8552, allocations: 8 kB / 0.8222 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.8564, allocations: 147.5 kB / 0.8223 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/0.8565, allocations: 31.98 kB / 0.8223 GB, free: 8.801 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.0002988/0.8568, allocations: 220.1 kB / 0.8225 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.857, allocations: 98.78 kB / 0.8226 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/0.8601, allocations: 1.123 MB / 0.8237 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.8601, allocations: 12 kB / 0.8237 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8601, allocations: 4 kB / 0.8237 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.8601, allocations: 3.984 kB / 0.8238 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004773/0.8649, allocations: 2.329 MB / 0.826 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.8649, allocations: 0 / 0.826 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.866, allocations: 203.2 kB / 0.8262 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.866, allocations: 8 kB / 0.8262 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.8661, allocations: 19.98 kB / 0.8262 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006583/0.8667, allocations: 1.188 MB / 0.8274 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8668, allocations: 4 kB / 0.8274 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.8697, allocations: 1.216 MB / 0.8286 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005906/0.8703, allocations: 287.6 kB / 0.8289 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.8705, allocations: 19.92 kB / 0.8289 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.8716, allocations: 127.9 kB / 0.829 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.8718, allocations: 56.3 kB / 0.8291 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.013e-05/0.8719, allocations: 43.84 kB / 0.8291 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008167/0.8727, allocations: 0.5821 MB / 0.8297 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8727, allocations: 0 / 0.8297 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001394/0.8741, allocations: 495 kB / 0.8301 GB, free: 0.5625 MB / 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.0006824/0.8748, allocations: 289.5 kB / 0.8304 GB, free: 288 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004498/0.8793, allocations: 1.625 MB / 0.832 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.8793, allocations: 4 kB / 0.832 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.8808, allocations: 0.5535 MB / 0.8326 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/0.8831, allocations: 456.9 kB / 0.833 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.8875, allocations: 2.302 MB / 0.8352 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.8881, allocations: 1.039 MB / 0.8363 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.8885, allocations: 91.39 kB / 0.8363 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of SimCode: time 1.754e-06/0.8885, allocations: 0 / 0.8363 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.03339/0.9219, allocations: 25.24 MB / 0.861 GB, free: 1.008 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)