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.001703/0.001703, allocations: 111.9 kB / 16.41 MB, free: 6.016 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.001722/0.001722, allocations: 180.4 kB / 17.34 MB, free: 5.629 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8804/0.8804, allocations: 135.2 MB / 426.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 73.16 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.17, allocations: 80.92 MB / 0.6654 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6421/0.812, allocations: 200.5 MB / 0.8611 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.8245, allocations: 7.659 MB / 0.8686 GB, free: 15 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002024/0.8266, allocations: 44.84 kB / 0.8686 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.8289, allocations: 0.7127 MB / 0.8693 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.835, allocations: 2.073 MB / 0.8714 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.8384, allocations: 1.178 MB / 0.8725 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004656/0.8431, allocations: 2.681 MB / 0.8751 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001642/0.8447, allocations: 0.8085 MB / 0.8759 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004503/0.8492, allocations: 1.615 MB / 0.8775 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.851, allocations: 0.8164 MB / 0.8783 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.8512, allocations: 104 kB / 0.8784 GB, free: 5.047 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.8552, allocations: 1.852 MB / 0.8802 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.8556, allocations: 338.7 kB / 0.8805 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00091/0.8565, allocations: 0.6142 MB / 0.8811 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004237/0.8608, allocations: 2.165 MB / 0.8832 GB, free: 76 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8608, allocations: 0 / 0.8832 GB, free: 76 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8608, allocations: 0 / 0.8832 GB, free: 76 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.8608, allocations: 0 / 0.8832 GB, free: 76 kB / 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.004268/0.8651, allocations: 1.718 MB / 0.8849 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.8651, allocations: 9.109 kB / 0.8849 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/0.8675, allocations: 442.8 kB / 0.8854 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.8697, allocations: 0.9651 MB / 0.8863 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.8697, allocations: 50 kB / 0.8863 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.8699, allocations: 79.94 kB / 0.8864 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.8725, allocations: 1.083 MB / 0.8875 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.8725, allocations: 0 / 0.8875 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/0.8726, allocations: 28.81 kB / 0.8875 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/0.8726, allocations: 37.98 kB / 0.8875 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/0.8759, allocations: 1.171 MB / 0.8887 GB, free: 10.38 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.007535/0.8835, allocations: 4.123 MB / 0.8927 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/0.886, allocations: 0.8013 MB / 0.8935 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.8874, allocations: 473.2 kB / 0.8939 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009243/0.8883, allocations: 0.6331 MB / 0.8946 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/0.8899, allocations: 0.5814 MB / 0.8951 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=57): time 2.705e-06/0.8899, allocations: 4 kB / 0.8951 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of matching and sorting (n=57): time 0.004543/0.8945, allocations: 1.384 MB / 0.8965 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.8946, allocations: 89.66 kB / 0.8966 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.8959, allocations: 0.8356 MB / 0.8974 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.896, allocations: 37.7 kB / 0.8974 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.8964, allocations: 432.9 kB / 0.8978 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.8966, allocations: 202.2 kB / 0.898 GB, free: 312 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.8969, allocations: 138.2 kB / 0.8982 GB, free: 168 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.8971, allocations: 326 kB / 0.8985 GB, free: 15.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.8984, allocations: 418.8 kB / 0.8989 GB, free: 15.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.8998, allocations: 0.533 MB / 0.8994 GB, free: 14.85 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00255/0.9024, allocations: 0.882 MB / 0.9003 GB, free: 13.94 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.9024, allocations: 0 / 0.9003 GB, free: 13.94 MB / 0.67 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003244/0.9056, allocations: 1.074 MB / 0.9013 GB, free: 12.85 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/0.9057, allocations: 33.7 kB / 0.9013 GB, free: 12.81 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.9057, allocations: 0 / 0.9013 GB, free: 12.81 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.9057, allocations: 8 kB / 0.9013 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.9071, allocations: 230.9 kB / 0.9016 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009147/0.908, allocations: 1.188 MB / 0.9027 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.9091, allocations: 147.6 kB / 0.9029 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.9092, allocations: 27.98 kB / 0.9029 GB, free: 11.17 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00175/0.911, allocations: 0.6063 MB / 0.9035 GB, free: 10.56 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001435/0.9124, allocations: 0.5369 MB / 0.904 GB, free: 9.98 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002509/0.9149, allocations: 0.8782 MB / 0.9049 GB, free: 9.074 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.9149, allocations: 0 / 0.9049 GB, free: 9.074 MB / 0.67 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003121/0.918, allocations: 1.07 MB / 0.9059 GB, free: 7.988 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.9181, allocations: 29.7 kB / 0.9059 GB, free: 7.953 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.9181, allocations: 4 kB / 0.9059 GB, free: 7.949 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.9181, allocations: 7.938 kB / 0.9059 GB, free: 7.941 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.9191, allocations: 196.7 kB / 0.9061 GB, free: 7.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.9191, allocations: 8.531 kB / 0.9061 GB, free: 7.742 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.9202, allocations: 123.7 kB / 0.9063 GB, free: 7.621 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/0.9203, allocations: 31.97 kB / 0.9063 GB, free: 7.59 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.0003448/0.9206, allocations: 220.1 kB / 0.9065 GB, free: 7.367 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.9208, allocations: 103.3 kB / 0.9066 GB, free: 7.266 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/0.9241, allocations: 1.119 MB / 0.9077 GB, free: 6.141 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.9241, allocations: 8 kB / 0.9077 GB, free: 6.133 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.9241, allocations: 0 / 0.9077 GB, free: 6.133 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.9241, allocations: 3.984 kB / 0.9077 GB, free: 6.129 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005099/0.9292, allocations: 2.302 MB / 0.91 GB, free: 3.734 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.9292, allocations: 352 / 0.91 GB, free: 3.734 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.9302, allocations: 199.8 kB / 0.9101 GB, free: 3.539 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.9302, allocations: 4 kB / 0.9101 GB, free: 3.535 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.9303, allocations: 19.98 kB / 0.9102 GB, free: 3.516 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008007/0.9311, allocations: 1.192 MB / 0.9113 GB, free: 2.277 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.9311, allocations: 7.969 kB / 0.9113 GB, free: 2.27 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00319/0.9343, allocations: 1.193 MB / 0.9125 GB, free: 1.027 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005603/0.9349, allocations: 296.1 kB / 0.9128 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.935, allocations: 23.86 kB / 0.9128 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009697/0.936, allocations: 99.89 kB / 0.9129 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.9362, allocations: 56.36 kB / 0.913 GB, free: 0.543 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.162e-05/0.9362, allocations: 35.97 kB / 0.913 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008773/0.9371, allocations: 0.5743 MB / 0.9136 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.9371, allocations: 0 / 0.9136 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001446/0.9386, allocations: 0.4912 MB / 0.914 GB, free: 15.43 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.0007756/0.9393, allocations: 297.5 kB / 0.9143 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004942/0.9443, allocations: 1.555 MB / 0.9158 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/0.9443, allocations: 0 / 0.9158 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.9459, allocations: 0.5183 MB / 0.9163 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.9482, allocations: 429.9 kB / 0.9167 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.9528, allocations: 1.945 MB / 0.9186 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007597/0.9536, allocations: 1.039 MB / 0.9197 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.954, allocations: 91.39 kB / 0.9197 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of SimCode: time 1.263e-06/0.954, allocations: 0 / 0.9197 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of Templates: time 0.03697/0.991, allocations: 25.29 MB / 0.9445 GB, free: 248 kB / 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)