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.001508/0.001508, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001475/0.001476, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8201/0.8201, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 71.83 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.17, allocations: 80.93 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6869/0.8569, allocations: 199.9 MB / 0.8606 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.8708, allocations: 7.654 MB / 0.868 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.8733, allocations: 40.22 kB / 0.8681 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00269/0.8761, allocations: 0.6859 MB / 0.8687 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008829/0.885, allocations: 1.985 MB / 0.8707 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004972/0.89, allocations: 1.161 MB / 0.8718 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006041/0.896, allocations: 2.687 MB / 0.8744 GB, free: 9 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.8989, allocations: 0.9834 MB / 0.8754 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005815/0.9047, allocations: 1.595 MB / 0.877 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.9072, allocations: 0.8214 MB / 0.8778 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000623/0.9078, allocations: 100 kB / 0.8779 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00542/0.9132, allocations: 1.84 MB / 0.8797 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008219/0.9141, allocations: 330.9 kB / 0.88 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.9158, allocations: 0.6103 MB / 0.8806 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006302/0.9221, allocations: 2.158 MB / 0.8827 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.9222, allocations: 8 kB / 0.8827 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9222, allocations: 0 / 0.8827 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.55e-05/0.9223, allocations: 0 / 0.8827 GB, free: 0.5391 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.006139/0.9284, allocations: 1.666 MB / 0.8843 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.9285, allocations: 13.11 kB / 0.8843 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003419/0.9319, allocations: 438 kB / 0.8847 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/0.935, allocations: 0.9611 MB / 0.8857 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.905e-05/0.9351, allocations: 58 kB / 0.8857 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/0.9354, allocations: 72 kB / 0.8858 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/0.9393, allocations: 1.083 MB / 0.8869 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/0.9393, allocations: 4 kB / 0.8869 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.9395, allocations: 28 kB / 0.8869 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-05/0.9396, allocations: 33.98 kB / 0.8869 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/0.9438, allocations: 1.171 MB / 0.8881 GB, free: 10.9 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.007418/0.9513, allocations: 4.112 MB / 0.8921 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.9539, allocations: 0.8441 MB / 0.8929 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.9553, allocations: 494.2 kB / 0.8934 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009066/0.9562, allocations: 0.637 MB / 0.894 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/0.9579, allocations: 0.5874 MB / 0.8946 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 3.406e-06/0.9579, allocations: 0 / 0.8946 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.004424/0.9623, allocations: 1.376 MB / 0.8959 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.9624, allocations: 85.67 kB / 0.896 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.9637, allocations: 0.8394 MB / 0.8968 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.9638, allocations: 37.7 kB / 0.8968 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.9642, allocations: 428.4 kB / 0.8973 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.9644, allocations: 197.1 kB / 0.8974 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.9647, allocations: 126.1 kB / 0.8976 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.9649, allocations: 330 kB / 0.8979 GB, free: 328 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.9662, allocations: 418.8 kB / 0.8983 GB, free: 15.91 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.9676, allocations: 0.5408 MB / 0.8988 GB, free: 15.32 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/0.9702, allocations: 0.8859 MB / 0.8997 GB, free: 14.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.9702, allocations: 112 / 0.8997 GB, free: 14.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003122/0.9733, allocations: 1.069 MB / 0.9007 GB, free: 13.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.9734, allocations: 37.7 kB / 0.9008 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.9734, allocations: 0 / 0.9008 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/0.9735, allocations: 4 kB / 0.9008 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.9748, allocations: 221.4 kB / 0.901 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008089/0.9756, allocations: 1.203 MB / 0.9021 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.9768, allocations: 131.5 kB / 0.9023 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.9769, allocations: 31.97 kB / 0.9023 GB, free: 11.65 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001644/0.9786, allocations: 0.6102 MB / 0.9029 GB, free: 11.04 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001399/0.98, allocations: 0.5358 MB / 0.9034 GB, free: 10.46 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002483/0.9825, allocations: 0.8819 MB / 0.9043 GB, free: 9.547 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.318e-06/0.9825, allocations: 0 / 0.9043 GB, free: 9.547 MB / 0.67 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003056/0.9856, allocations: 1.05 MB / 0.9053 GB, free: 8.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.9856, allocations: 37.73 kB / 0.9053 GB, free: 8.438 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.9857, allocations: 7.984 kB / 0.9053 GB, free: 8.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.9857, allocations: 4 kB / 0.9054 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.9867, allocations: 199.8 kB / 0.9055 GB, free: 8.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.9867, allocations: 4 kB / 0.9055 GB, free: 8.227 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.9878, allocations: 127.4 kB / 0.9057 GB, free: 8.102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/0.9879, allocations: 39.97 kB / 0.9057 GB, free: 8.062 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.0003027/0.9882, allocations: 212.1 kB / 0.9059 GB, free: 7.848 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.9885, allocations: 94.88 kB / 0.906 GB, free: 7.754 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/0.9917, allocations: 1.114 MB / 0.9071 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.9917, allocations: 8 kB / 0.9071 GB, free: 6.629 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.9918, allocations: 0 / 0.9071 GB, free: 6.629 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.9918, allocations: 7.984 kB / 0.9071 GB, free: 6.621 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005133/0.9969, allocations: 2.298 MB / 0.9093 GB, free: 4.234 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.997, allocations: 4 kB / 0.9093 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.998, allocations: 196 kB / 0.9095 GB, free: 4.039 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/0.998, allocations: 8 kB / 0.9095 GB, free: 4.031 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.9981, allocations: 27.97 kB / 0.9096 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006922/0.9988, allocations: 1.184 MB / 0.9107 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.9988, allocations: 4 kB / 0.9107 GB, free: 2.77 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003064/1.002, allocations: 1.192 MB / 0.9119 GB, free: 1.52 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005846/1.002, allocations: 287.6 kB / 0.9122 GB, free: 1.219 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.003, allocations: 19.92 kB / 0.9122 GB, free: 1.199 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.004, allocations: 103.9 kB / 0.9123 GB, free: 1.098 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.004, allocations: 60.31 kB / 0.9123 GB, free: 1.039 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.524e-05/1.004, allocations: 31.97 kB / 0.9124 GB, free: 1.008 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000927/1.005, allocations: 0.5782 MB / 0.9129 GB, free: 428 kB / 0.67 GB Notification: Performance of sort global known variables: time 3.41e-07/1.005, allocations: 4 kB / 0.9129 GB, free: 424 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.001503/1.007, allocations: 491 kB / 0.9134 GB, free: 15.93 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.0007637/1.007, allocations: 302.7 kB / 0.9137 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004897/1.012, allocations: 1.602 MB / 0.9153 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.012, allocations: 4 kB / 0.9153 GB, free: 14 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/1.014, allocations: 0.534 MB / 0.9158 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/1.016, allocations: 434 kB / 0.9162 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/1.021, allocations: 1.9 MB / 0.9181 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/1.022, allocations: 1.035 MB / 0.9191 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.022, allocations: 95.39 kB / 0.9192 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of SimCode: time 3.446e-06/1.022, allocations: 0 / 0.9192 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of Templates: time 0.03534/1.057, allocations: 25.21 MB / 0.9438 GB, free: 0.8008 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)