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.005825/0.005825, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.001365/0.001365, allocations: 199 kB / 16.68 MB, free: 6.375 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9545/0.9545, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.91 kB / 0.5856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3931, allocations: 80.92 MB / 0.6646 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.2055/0.5986, allocations: 200 MB / 0.8599 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.6088, allocations: 7.648 MB / 0.8674 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.61, allocations: 39.75 kB / 0.8674 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.6116, allocations: 0.7066 MB / 0.8681 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.417/1.029, allocations: 2.061 MB / 0.8701 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/1.032, allocations: 1.18 MB / 0.8713 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004261/1.036, allocations: 2.691 MB / 0.8739 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/1.038, allocations: 0.9879 MB / 0.8749 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004205/1.042, allocations: 1.609 MB / 0.8764 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/1.044, allocations: 0.8245 MB / 0.8772 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002638/1.044, allocations: 105.8 kB / 0.8773 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004186/1.048, allocations: 1.844 MB / 0.8791 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004817/1.049, allocations: 332.3 kB / 0.8795 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/1.05, allocations: 0.6114 MB / 0.8801 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004155/1.054, allocations: 2.157 MB / 0.8822 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.054, allocations: 2.047 kB / 0.8822 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.643e-06/1.054, allocations: 0.9688 kB / 0.8822 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.644e-05/1.054, allocations: 0 / 0.8822 GB, free: 2.504 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.003681/1.058, allocations: 1.67 MB / 0.8838 GB, free: 17.63 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/1.058, allocations: 8.719 kB / 0.8838 GB, free: 17.63 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002277/1.06, allocations: 438.4 kB / 0.8842 GB, free: 17.57 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/1.062, allocations: 0.9524 MB / 0.8852 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.006e-05/1.062, allocations: 59.38 kB / 0.8852 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/1.062, allocations: 71.08 kB / 0.8853 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/1.064, allocations: 1.081 MB / 0.8863 GB, free: 17.14 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/1.065, allocations: 6.922 kB / 0.8863 GB, free: 17.14 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.352e-05/1.065, allocations: 27.31 kB / 0.8864 GB, free: 17.14 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/1.065, allocations: 36.75 kB / 0.8864 GB, free: 17.14 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/1.068, allocations: 1.171 MB / 0.8875 GB, free: 17.12 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.0064/1.074, allocations: 4.107 MB / 0.8916 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/1.076, allocations: 0.838 MB / 0.8924 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/1.078, allocations: 0.4895 MB / 0.8929 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008928/1.079, allocations: 0.6338 MB / 0.8935 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/1.08, allocations: 0.5882 MB / 0.894 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.525e-06/1.08, allocations: 0.6562 kB / 0.894 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.004812/1.085, allocations: 1.382 MB / 0.8954 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/1.085, allocations: 84.08 kB / 0.8955 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/1.087, allocations: 0.8319 MB / 0.8963 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/1.087, allocations: 40.52 kB / 0.8963 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/1.087, allocations: 432.2 kB / 0.8967 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/1.087, allocations: 197 kB / 0.8969 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/1.088, allocations: 131.4 kB / 0.8971 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.088, allocations: 332 kB / 0.8974 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/1.089, allocations: 414.4 kB / 0.8978 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/1.09, allocations: 0.5408 MB / 0.8983 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/1.092, allocations: 0.8809 MB / 0.8992 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.092, allocations: 1 kB / 0.8992 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002692/1.095, allocations: 1.065 MB / 0.9002 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.603e-05/1.095, allocations: 39.83 kB / 0.9002 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.095, allocations: 2.969 kB / 0.9002 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.095, allocations: 5.25 kB / 0.9002 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.097, allocations: 224.3 kB / 0.9005 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006366/1.097, allocations: 1.195 MB / 0.9016 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/1.098, allocations: 132.6 kB / 0.9017 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/1.098, allocations: 31.39 kB / 0.9018 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001335/1.1, allocations: 0.6032 MB / 0.9024 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001086/1.101, allocations: 0.5289 MB / 0.9029 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002015/1.103, allocations: 0.8772 MB / 0.9037 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/1.103, allocations: 0.8125 kB / 0.9037 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002528/1.105, allocations: 1.063 MB / 0.9048 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/1.105, allocations: 34.48 kB / 0.9048 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.105, allocations: 4.062 kB / 0.9048 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.242e-06/1.105, allocations: 4.844 kB / 0.9048 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009256/1.106, allocations: 203.2 kB / 0.905 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/1.106, allocations: 9.312 kB / 0.905 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/1.107, allocations: 129.4 kB / 0.9051 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/1.108, allocations: 27.27 kB / 0.9052 GB, free: 11.5 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.0002979/1.108, allocations: 217.5 kB / 0.9054 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/1.108, allocations: 98.72 kB / 0.9055 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/1.111, allocations: 1.115 MB / 0.9066 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/1.111, allocations: 13.31 kB / 0.9066 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.111, allocations: 0 / 0.9066 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.111, allocations: 2.953 kB / 0.9066 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/1.115, allocations: 2.295 MB / 0.9088 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.115, allocations: 2.156 kB / 0.9088 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009262/1.116, allocations: 189.7 kB / 0.909 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/1.116, allocations: 7.344 kB / 0.909 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/1.116, allocations: 22.19 kB / 0.909 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005556/1.116, allocations: 1.192 MB / 0.9102 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.117, allocations: 5.031 kB / 0.9102 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/1.119, allocations: 1.199 MB / 0.9114 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005058/1.12, allocations: 287.5 kB / 0.9116 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/1.12, allocations: 15.42 kB / 0.9117 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009365/1.121, allocations: 101.5 kB / 0.9118 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.121, allocations: 66.02 kB / 0.9118 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/1.121, allocations: 30.48 kB / 0.9118 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006866/1.122, allocations: 0.5749 MB / 0.9124 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.72e-07/1.122, allocations: 0 / 0.9124 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001306/1.123, allocations: 488.2 kB / 0.9129 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.0006098/1.124, allocations: 300.4 kB / 0.9132 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004094/1.128, allocations: 1.608 MB / 0.9147 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.128, allocations: 8.422 kB / 0.9147 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/1.129, allocations: 0.5454 MB / 0.9153 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.001946/1.131, allocations: 433.5 kB / 0.9157 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/1.135, allocations: 1.869 MB / 0.9175 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000626/1.136, allocations: 1.043 MB / 0.9185 GB, free: 7.047 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00102/1.137, allocations: 290.5 kB / 0.9188 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/1.137, allocations: 80.11 kB / 0.9189 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of SimCode: time 4.1e-07/1.137, allocations: 0 / 0.9189 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of Templates: time 0.03509/1.172, allocations: 19.6 MB / 0.938 GB, free: 0.8242 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)