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.007589/0.007589, allocations: 102.1 kB / 15.74 MB, free: 6.027 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.001712/0.001712, allocations: 190.9 kB / 16.67 MB, free: 5.961 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9315/0.9315, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.89 kB / 0.5856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4276, allocations: 80.92 MB / 0.6646 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.2322/0.6599, allocations: 200 MB / 0.8599 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.6725, allocations: 7.656 MB / 0.8674 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.6745, allocations: 39.75 kB / 0.8674 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.6768, allocations: 0.6948 MB / 0.8681 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.4569/1.134, allocations: 1.959 MB / 0.87 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003564/1.137, allocations: 1.181 MB / 0.8712 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004731/1.142, allocations: 2.683 MB / 0.8738 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/1.144, allocations: 0.9771 MB / 0.8747 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004355/1.148, allocations: 1.563 MB / 0.8763 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/1.15, allocations: 0.8281 MB / 0.8771 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00023/1.15, allocations: 103.5 kB / 0.8772 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004095/1.154, allocations: 1.841 MB / 0.879 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004469/1.155, allocations: 329 kB / 0.8793 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00106/1.156, allocations: 0.6095 MB / 0.8799 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004226/1.16, allocations: 2.17 MB / 0.882 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/1.16, allocations: 1.562 kB / 0.882 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.595e-06/1.16, allocations: 1.203 kB / 0.882 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.33e-05/1.16, allocations: 0.5938 kB / 0.882 GB, free: 2.613 MB / 0.6856 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.005073/1.165, allocations: 1.715 MB / 0.8837 GB, free: 17.7 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.165, allocations: 9.75 kB / 0.8837 GB, free: 17.7 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/1.168, allocations: 447.4 kB / 0.8841 GB, free: 17.63 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/1.17, allocations: 0.9588 MB / 0.885 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/1.17, allocations: 59.94 kB / 0.8851 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/1.17, allocations: 71.55 kB / 0.8852 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/1.172, allocations: 1.084 MB / 0.8862 GB, free: 17.2 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/1.172, allocations: 2.219 kB / 0.8862 GB, free: 17.2 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/1.172, allocations: 29.92 kB / 0.8863 GB, free: 17.2 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/1.172, allocations: 32.84 kB / 0.8863 GB, free: 17.2 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/1.176, allocations: 1.175 MB / 0.8874 GB, free: 17.18 MB / 0.7012 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.006234/1.182, allocations: 4.114 MB / 0.8915 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/1.184, allocations: 0.8385 MB / 0.8923 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/1.186, allocations: 496.8 kB / 0.8927 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007943/1.186, allocations: 0.6375 MB / 0.8934 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/1.188, allocations: 0.5871 MB / 0.8939 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.344e-06/1.188, allocations: 1.906 kB / 0.8939 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.004434/1.192, allocations: 1.385 MB / 0.8953 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/1.192, allocations: 84.39 kB / 0.8954 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/1.194, allocations: 0.8291 MB / 0.8962 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-05/1.194, allocations: 44 kB / 0.8962 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004188/1.194, allocations: 436.2 kB / 0.8966 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/1.195, allocations: 204.8 kB / 0.8968 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/1.195, allocations: 129.3 kB / 0.897 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.195, allocations: 333.2 kB / 0.8973 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/1.196, allocations: 413.5 kB / 0.8977 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/1.198, allocations: 0.5405 MB / 0.8982 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/1.2, allocations: 0.8803 MB / 0.8991 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.2, allocations: 4.312 kB / 0.8991 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002743/1.203, allocations: 1.067 MB / 0.9001 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/1.203, allocations: 40.2 kB / 0.9002 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.203, allocations: 2.531 kB / 0.9002 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.203, allocations: 5.188 kB / 0.9002 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.204, allocations: 233.9 kB / 0.9004 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006752/1.205, allocations: 1.193 MB / 0.9015 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.206, allocations: 140.5 kB / 0.9017 GB, free: 12 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/1.206, allocations: 31.31 kB / 0.9017 GB, free: 12 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001477/1.207, allocations: 0.6043 MB / 0.9023 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00119/1.209, allocations: 0.5337 MB / 0.9028 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002153/1.211, allocations: 0.8768 MB / 0.9037 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/1.211, allocations: 0 / 0.9037 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.00259/1.213, allocations: 1.065 MB / 0.9047 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/1.213, allocations: 34.8 kB / 0.9048 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/1.213, allocations: 1.781 kB / 0.9048 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/1.213, allocations: 8.094 kB / 0.9048 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009111/1.214, allocations: 202.6 kB / 0.905 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.214, allocations: 9.016 kB / 0.905 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.215, allocations: 121.7 kB / 0.9051 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.481e-05/1.216, allocations: 26.47 kB / 0.9051 GB, free: 11.52 MB / 0.7012 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.0002663/1.216, allocations: 217 kB / 0.9053 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/1.216, allocations: 107 kB / 0.9054 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/1.219, allocations: 1.107 MB / 0.9065 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/1.219, allocations: 15.91 kB / 0.9065 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.219, allocations: 0 / 0.9065 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/1.219, allocations: 5.625 kB / 0.9065 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004311/1.223, allocations: 2.291 MB / 0.9088 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.223, allocations: 2.438 kB / 0.9088 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009262/1.224, allocations: 201.3 kB / 0.9089 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/1.224, allocations: 7.812 kB / 0.909 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/1.224, allocations: 22.47 kB / 0.909 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005787/1.225, allocations: 1.195 MB / 0.9101 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.225, allocations: 2.344 kB / 0.9101 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/1.228, allocations: 1.2 MB / 0.9113 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/1.228, allocations: 296.4 kB / 0.9116 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/1.228, allocations: 21.3 kB / 0.9116 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009402/1.229, allocations: 100.3 kB / 0.9117 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/1.229, allocations: 56.55 kB / 0.9118 GB, free: 9.066 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/1.229, allocations: 35.16 kB / 0.9118 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006995/1.23, allocations: 0.5799 MB / 0.9124 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.82e-07/1.23, allocations: 0 / 0.9124 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001332/1.231, allocations: 489.9 kB / 0.9128 GB, free: 8.895 MB / 0.7012 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.0006561/1.232, allocations: 298.3 kB / 0.9131 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004311/1.236, allocations: 1.61 MB / 0.9147 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.236, allocations: 2.156 kB / 0.9147 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/1.238, allocations: 0.5533 MB / 0.9152 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/1.24, allocations: 440.2 kB / 0.9157 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/1.244, allocations: 1.893 MB / 0.9175 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/1.245, allocations: 1.043 MB / 0.9185 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001195/1.246, allocations: 285.5 kB / 0.9188 GB, free: 6.934 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/1.246, allocations: 83.12 kB / 0.9189 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of SimCode: time 5.61e-07/1.246, allocations: 0 / 0.9189 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of Templates: time 0.03291/1.279, allocations: 19.59 MB / 0.938 GB, free: 0.8359 MB / 0.7012 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)