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.001521/0.001521, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001772/0.001772, allocations: 187 kB / 17.34 MB, free: 5.754 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7821/0.7821, allocations: 135.1 MB / 426.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 66.2 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1878, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6816/0.8695, allocations: 199.9 MB / 0.8606 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.8822, allocations: 7.659 MB / 0.868 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.8846, allocations: 43.06 kB / 0.8681 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.8871, allocations: 0.6897 MB / 0.8688 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006466/0.8936, allocations: 1.974 MB / 0.8707 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.8971, allocations: 1.164 MB / 0.8718 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004552/0.9017, allocations: 2.692 MB / 0.8744 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.9037, allocations: 0.9828 MB / 0.8754 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/0.9083, allocations: 1.59 MB / 0.877 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.9104, allocations: 0.826 MB / 0.8778 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004247/0.9108, allocations: 100 kB / 0.8779 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004332/0.9152, allocations: 1.84 MB / 0.8797 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005513/0.9158, allocations: 326.9 kB / 0.88 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009316/0.9167, allocations: 0.6181 MB / 0.8806 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00428/0.921, allocations: 2.15 MB / 0.8827 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.921, allocations: 8 kB / 0.8827 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.074e-06/0.921, allocations: 0 / 0.8827 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.9211, allocations: 0 / 0.8827 GB, free: 0.5742 MB / 0.6387 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.003936/0.925, allocations: 1.666 MB / 0.8843 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.9251, allocations: 13.11 kB / 0.8843 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.9274, allocations: 434.1 kB / 0.8847 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.9293, allocations: 0.968 MB / 0.8857 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.9294, allocations: 58 kB / 0.8857 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.9296, allocations: 72 kB / 0.8858 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.9318, allocations: 1.083 MB / 0.8869 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.9318, allocations: 4 kB / 0.8869 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.9319, allocations: 27.98 kB / 0.8869 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-05/0.932, allocations: 33.98 kB / 0.8869 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/0.9348, allocations: 1.171 MB / 0.8881 GB, free: 10.93 MB / 0.6544 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.006222/0.941, allocations: 4.11 MB / 0.8921 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.9432, allocations: 0.8366 MB / 0.8929 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.9444, allocations: 498.2 kB / 0.8934 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008356/0.9453, allocations: 0.637 MB / 0.894 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/0.9467, allocations: 0.5836 MB / 0.8946 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 2.385e-06/0.9467, allocations: 0 / 0.8946 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.003984/0.9507, allocations: 1.38 MB / 0.8959 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.9508, allocations: 89.67 kB / 0.896 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.9519, allocations: 0.8317 MB / 0.8968 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.952, allocations: 45.7 kB / 0.8969 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.9523, allocations: 428.3 kB / 0.8973 GB, free: 1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.9525, allocations: 197.1 kB / 0.8974 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.9528, allocations: 130.1 kB / 0.8976 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.9529, allocations: 326 kB / 0.8979 GB, free: 356 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.954, allocations: 418.8 kB / 0.8983 GB, free: 15.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.9553, allocations: 0.5332 MB / 0.8988 GB, free: 15.36 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.9575, allocations: 0.8858 MB / 0.8997 GB, free: 14.44 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9576, allocations: 0 / 0.8997 GB, free: 14.44 MB / 0.67 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002871/0.9604, allocations: 1.073 MB / 0.9007 GB, free: 13.35 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.9605, allocations: 33.7 kB / 0.9007 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.9605, allocations: 1.953 kB / 0.9008 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.9605, allocations: 4 kB / 0.9008 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.9619, allocations: 223.8 kB / 0.901 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000751/0.9627, allocations: 1.199 MB / 0.9021 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.9638, allocations: 135.5 kB / 0.9023 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/0.9639, allocations: 23.98 kB / 0.9023 GB, free: 11.69 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001508/0.9655, allocations: 0.6102 MB / 0.9029 GB, free: 11.07 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001234/0.9667, allocations: 0.5377 MB / 0.9034 GB, free: 10.49 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002224/0.9689, allocations: 0.8742 MB / 0.9043 GB, free: 9.59 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/0.969, allocations: 0 / 0.9043 GB, free: 9.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002804/0.9718, allocations: 1.058 MB / 0.9053 GB, free: 8.516 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.9718, allocations: 41.64 kB / 0.9053 GB, free: 8.469 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.9718, allocations: 4 kB / 0.9053 GB, free: 8.465 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.9719, allocations: 4 kB / 0.9053 GB, free: 8.461 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.9729, allocations: 199.7 kB / 0.9055 GB, free: 8.266 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.9729, allocations: 4 kB / 0.9055 GB, free: 8.262 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.974, allocations: 124.5 kB / 0.9057 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.27e-05/0.9741, allocations: 35.97 kB / 0.9057 GB, free: 8.105 MB / 0.67 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.0003264/0.9744, allocations: 219.6 kB / 0.9059 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.9748, allocations: 98.78 kB / 0.906 GB, free: 7.789 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.9778, allocations: 1.114 MB / 0.9071 GB, free: 6.672 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.9778, allocations: 8 kB / 0.9071 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.9778, allocations: 0 / 0.9071 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.9778, allocations: 7.984 kB / 0.9071 GB, free: 6.656 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004932/0.9828, allocations: 2.294 MB / 0.9093 GB, free: 4.273 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.9828, allocations: 4 kB / 0.9093 GB, free: 4.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.9838, allocations: 196 kB / 0.9095 GB, free: 4.078 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.13e-05/0.9839, allocations: 8 kB / 0.9095 GB, free: 4.07 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.984, allocations: 23.98 kB / 0.9096 GB, free: 4.047 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006513/0.9846, allocations: 1.191 MB / 0.9107 GB, free: 2.809 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.9846, allocations: 4 kB / 0.9107 GB, free: 2.805 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.9875, allocations: 1.192 MB / 0.9119 GB, free: 1.555 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006075/0.9881, allocations: 287.6 kB / 0.9122 GB, free: 1.254 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/0.9884, allocations: 19.92 kB / 0.9122 GB, free: 1.234 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.9896, allocations: 103.9 kB / 0.9123 GB, free: 1.133 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.9897, allocations: 60.3 kB / 0.9123 GB, free: 1.074 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.793e-05/0.9898, allocations: 31.97 kB / 0.9124 GB, free: 1.043 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009626/0.9908, allocations: 0.5743 MB / 0.9129 GB, free: 468 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9908, allocations: 4 kB / 0.9129 GB, free: 464 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.001669/0.9925, allocations: 491.2 kB / 0.9134 GB, free: 15.97 MB / 0.6856 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.0008485/0.9933, allocations: 304.9 kB / 0.9137 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004657/0.998, allocations: 1.594 MB / 0.9153 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.9981, allocations: 4 kB / 0.9153 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.9996, allocations: 0.5417 MB / 0.9158 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/1.002, allocations: 444.7 kB / 0.9162 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/1.007, allocations: 1.906 MB / 0.9181 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007859/1.007, allocations: 1.043 MB / 0.9191 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/1.008, allocations: 87.41 kB / 0.9192 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of SimCode: time 1.392e-06/1.008, allocations: 0 / 0.9192 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of Templates: time 0.03732/1.045, allocations: 25.34 MB / 0.9439 GB, free: 0.6914 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)