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.001171/0.001171, allocations: 106 kB / 16.41 MB, free: 6.5 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.001247/0.001247, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.311/1.311, 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/package.mo): time 0.9083/0.9083, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.61 kB / 0.582 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1583, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.5799/0.7383, allocations: 199.9 MB / 0.8556 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.7499, allocations: 7.656 MB / 0.8631 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.7518, allocations: 43.91 kB / 0.8631 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.7538, allocations: 0.6819 MB / 0.8638 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005408/0.7592, allocations: 1.978 MB / 0.8657 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.7623, allocations: 1.173 MB / 0.8668 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003978/0.7663, allocations: 2.688 MB / 0.8695 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.7679, allocations: 0.9839 MB / 0.8704 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/0.7718, allocations: 1.589 MB / 0.872 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.7732, allocations: 0.8251 MB / 0.8728 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.7734, allocations: 104 kB / 0.8729 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003494/0.7769, allocations: 1.836 MB / 0.8747 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.7772, allocations: 330.9 kB / 0.875 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007067/0.778, allocations: 0.6103 MB / 0.8756 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.7813, allocations: 2.162 MB / 0.8777 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7813, allocations: 0 / 0.8777 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7813, allocations: 0 / 0.8777 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.974e-05/0.7813, allocations: 0 / 0.8777 GB, free: 7.488 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.003394/0.7847, allocations: 1.673 MB / 0.8793 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.7848, allocations: 8.031 kB / 0.8793 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.7871, allocations: 434.2 kB / 0.8798 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.7889, allocations: 0.9602 MB / 0.8807 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.7889, allocations: 54 kB / 0.8808 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.7891, allocations: 80 kB / 0.8808 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.7914, allocations: 1.075 MB / 0.8819 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.7914, allocations: 0 / 0.8819 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.615e-05/0.7915, allocations: 31.98 kB / 0.8819 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/0.7916, allocations: 30 kB / 0.8819 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/0.7945, allocations: 1.175 MB / 0.8831 GB, free: 1.852 MB / 0.6387 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.006013/0.8005, allocations: 4.111 MB / 0.8871 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.8029, allocations: 0.8366 MB / 0.8879 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.8041, allocations: 494.2 kB / 0.8884 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007516/0.8049, allocations: 0.6369 MB / 0.889 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.8063, allocations: 0.5913 MB / 0.8896 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 2.886e-06/0.8063, allocations: 0 / 0.8896 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.004072/0.8104, allocations: 1.376 MB / 0.8909 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.8105, allocations: 85.67 kB / 0.891 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.8116, allocations: 0.8355 MB / 0.8918 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/0.8116, allocations: 41.7 kB / 0.8919 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.812, allocations: 432.3 kB / 0.8923 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.8122, allocations: 189.2 kB / 0.8925 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.8124, allocations: 130.1 kB / 0.8926 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.8125, allocations: 330 kB / 0.8929 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.8137, allocations: 418.8 kB / 0.8933 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.815, allocations: 0.5408 MB / 0.8938 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.8173, allocations: 0.882 MB / 0.8947 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8173, allocations: 0 / 0.8947 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00289/0.8202, allocations: 1.065 MB / 0.8957 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.8203, allocations: 33.7 kB / 0.8958 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.8203, allocations: 0 / 0.8958 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.8203, allocations: 4 kB / 0.8958 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.8216, allocations: 233.4 kB / 0.896 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006427/0.8223, allocations: 1.188 MB / 0.8971 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009689/0.8233, allocations: 139.5 kB / 0.8973 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/0.8234, allocations: 31.98 kB / 0.8973 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00147/0.8248, allocations: 0.6032 MB / 0.8979 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00128/0.8261, allocations: 0.5369 MB / 0.8984 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002363/0.8285, allocations: 0.8781 MB / 0.8993 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.466e-06/0.8285, allocations: 0 / 0.8993 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002852/0.8314, allocations: 1.062 MB / 0.9003 GB, free: 15.45 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.8314, allocations: 33.7 kB / 0.9004 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.8314, allocations: 4 kB / 0.9004 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.8314, allocations: 4 kB / 0.9004 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009685/0.8324, allocations: 196.9 kB / 0.9005 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.8324, allocations: 11.98 kB / 0.9006 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.8337, allocations: 127.4 kB / 0.9007 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/0.8338, allocations: 31.98 kB / 0.9007 GB, free: 15.04 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.0002729/0.8341, allocations: 220.2 kB / 0.9009 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.8342, allocations: 98.78 kB / 0.901 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/0.8372, allocations: 1.108 MB / 0.9021 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.8372, allocations: 8 kB / 0.9021 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.8373, allocations: 3.938 kB / 0.9021 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.8373, allocations: 4.078 kB / 0.9021 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0044/0.8417, allocations: 2.31 MB / 0.9044 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.8417, allocations: 7.984 kB / 0.9044 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009656/0.8427, allocations: 195.7 kB / 0.9046 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.8427, allocations: 8 kB / 0.9046 GB, free: 10.99 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/0.8428, allocations: 19.98 kB / 0.9046 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005375/0.8433, allocations: 1.188 MB / 0.9057 GB, free: 9.734 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8433, allocations: 4 kB / 0.9058 GB, free: 9.73 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.8461, allocations: 1.192 MB / 0.9069 GB, free: 8.492 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/0.8465, allocations: 291.6 kB / 0.9072 GB, free: 8.188 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.8467, allocations: 15.94 kB / 0.9072 GB, free: 8.172 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009412/0.8476, allocations: 103.9 kB / 0.9073 GB, free: 8.07 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.8478, allocations: 64.3 kB / 0.9074 GB, free: 8.008 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.8479, allocations: 27.98 kB / 0.9074 GB, free: 7.98 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000711/0.8486, allocations: 0.5782 MB / 0.908 GB, free: 7.391 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8486, allocations: 0 / 0.908 GB, free: 7.391 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001219/0.8498, allocations: 491 kB / 0.9084 GB, free: 6.91 MB / 0.67 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.0006257/0.8504, allocations: 290.2 kB / 0.9087 GB, free: 6.625 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004408/0.8549, allocations: 1.61 MB / 0.9103 GB, free: 4.988 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.8549, allocations: 4 kB / 0.9103 GB, free: 4.984 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.8564, allocations: 0.5417 MB / 0.9108 GB, free: 4.445 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.8583, allocations: 439.2 kB / 0.9112 GB, free: 4.035 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.8622, allocations: 1.901 MB / 0.9131 GB, free: 2.062 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.8628, allocations: 1.039 MB / 0.9141 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/0.8632, allocations: 95.39 kB / 0.9142 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.8632, allocations: 3.938 kB / 0.9142 GB, free: 0.8945 MB / 0.67 GB Notification: Performance of Templates: time 0.029/0.8922, allocations: 25.34 MB / 0.9389 GB, free: 7.672 MB / 0.7012 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)