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.0009494/0.0009494, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001202/0.001202, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7305/0.7305, allocations: 132.4 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002848, allocations: 11.98 kB / 0.5034 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3405, allocations: 81.57 MB / 0.5831 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.179/0.5196, allocations: 182.2 MB / 0.761 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00932/0.529, allocations: 7.18 MB / 0.768 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009561/0.5299, allocations: 35.75 kB / 0.768 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.5311, allocations: 460.9 kB / 0.7684 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003337/0.5345, allocations: 1.465 MB / 0.7699 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.5367, allocations: 0.8956 MB / 0.7708 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00311/0.5398, allocations: 2.98 MB / 0.7737 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.541, allocations: 0.7227 MB / 0.7744 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002254/0.5432, allocations: 1.21 MB / 0.7755 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.5443, allocations: 0.7585 MB / 0.7763 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.712e-05/0.5444, allocations: 40 kB / 0.7763 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.5466, allocations: 1.263 MB / 0.7776 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.5469, allocations: 251 kB / 0.7778 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002401/0.5471, allocations: 249.1 kB / 0.778 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.5485, allocations: 1.489 MB / 0.7795 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5485, allocations: 0 / 0.7795 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5485, allocations: 4 kB / 0.7795 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.5485, allocations: 0 / 0.7795 GB, free: 6.891 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.002934/0.5515, allocations: 1.464 MB / 0.7809 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.5515, allocations: 12.03 kB / 0.7809 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.5537, allocations: 478.1 kB / 0.7814 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.5552, allocations: 0.8829 MB / 0.7823 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005664/0.5557, allocations: 193.8 kB / 0.7824 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.5559, allocations: 72 kB / 0.7825 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.5581, allocations: 1.122 MB / 0.7836 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.5581, allocations: 0 / 0.7836 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/0.5582, allocations: 36 kB / 0.7836 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.5583, allocations: 37.92 kB / 0.7837 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/0.5613, allocations: 1.265 MB / 0.7849 GB, free: 1.227 MB / 0.6075 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.005553/0.5668, allocations: 4.165 MB / 0.789 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002364/0.5692, allocations: 0.9381 MB / 0.7899 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.5704, allocations: 0.537 MB / 0.7904 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/0.5712, allocations: 0.6487 MB / 0.7911 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/0.5726, allocations: 0.6304 MB / 0.7917 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 1.803e-06/0.5726, allocations: 0 / 0.7917 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.003866/0.5765, allocations: 1.52 MB / 0.7932 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.5765, allocations: 93.67 kB / 0.7932 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/0.5775, allocations: 0.8239 MB / 0.794 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.208e-05/0.5775, allocations: 37.7 kB / 0.7941 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.5778, allocations: 428.4 kB / 0.7945 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.578, allocations: 189.2 kB / 0.7947 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.578, allocations: 12 kB / 0.7947 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.5781, allocations: 326 kB / 0.795 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.5793, allocations: 460.7 kB / 0.7954 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.5806, allocations: 0.5832 MB / 0.796 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.5818, allocations: 499.5 kB / 0.7965 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5818, allocations: 0 / 0.7965 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002694/0.5845, allocations: 1.159 MB / 0.7976 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/0.5846, allocations: 171.1 kB / 0.7978 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5846, allocations: 0 / 0.7978 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5846, allocations: 4 kB / 0.7978 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.586, allocations: 259.6 kB / 0.798 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005855/0.5866, allocations: 1.199 MB / 0.7992 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009657/0.5875, allocations: 195.4 kB / 0.7994 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/0.5876, allocations: 23.98 kB / 0.7994 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.5876, allocations: 4 kB / 0.7994 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002545/0.5902, allocations: 1.057 MB / 0.8004 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.5902, allocations: 0 / 0.8004 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.5902, allocations: 4 kB / 0.8004 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/0.5912, allocations: 231.8 kB / 0.8007 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5912, allocations: 4 kB / 0.8007 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009015/0.5921, allocations: 187.3 kB / 0.8008 GB, free: 256 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.5922, allocations: 35.92 kB / 0.8009 GB, free: 220 kB / 0.6231 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00038/0.5926, allocations: 345.5 kB / 0.8012 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.5927, allocations: 98.78 kB / 0.8013 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.5956, allocations: 1.199 MB / 0.8025 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.5956, allocations: 8 kB / 0.8025 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5956, allocations: 0 / 0.8025 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.5956, allocations: 7.938 kB / 0.8025 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004163/0.5998, allocations: 2.38 MB / 0.8048 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.5998, allocations: 8.062 kB / 0.8048 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009915/0.6008, allocations: 227.7 kB / 0.805 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.6008, allocations: 4 kB / 0.805 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.6009, allocations: 19.98 kB / 0.8051 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004985/0.6014, allocations: 1.188 MB / 0.8062 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.6014, allocations: 12.19 kB / 0.8062 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.6041, allocations: 1.286 MB / 0.8075 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.6044, allocations: 295.5 kB / 0.8078 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6046, allocations: 12.09 kB / 0.8078 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.6056, allocations: 163.7 kB / 0.8079 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6057, allocations: 60.33 kB / 0.808 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.279e-05/0.6058, allocations: 31.98 kB / 0.808 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006409/0.6065, allocations: 0.5665 MB / 0.8086 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6065, allocations: 4 kB / 0.8086 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00105/0.6075, allocations: 491.1 kB / 0.8091 GB, free: 7.609 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005269/0.6081, allocations: 289.2 kB / 0.8093 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004221/0.6123, allocations: 1.742 MB / 0.811 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6123, allocations: 0 / 0.811 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.6138, allocations: 0.6003 MB / 0.8116 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.6158, allocations: 465.3 kB / 0.8121 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.6195, allocations: 2.23 MB / 0.8142 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.6201, allocations: 1.043 MB / 0.8153 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001171/0.6212, allocations: 289.3 kB / 0.8155 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.6215, allocations: 83.39 kB / 0.8156 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.6215, allocations: 0 / 0.8156 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of Templates: time 0.2543/0.8758, allocations: 18.13 MB / 0.8333 GB, free: 212.3 MB / 0.6387 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)