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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7115/0.7115, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 403.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009842/0.0009837, allocations: 106.8 kB / 484.4 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000975/0.000975, allocations: 47.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1283, allocations: 80.19 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.4718/0.6002, allocations: 197.6 MB / 0.8331 GB, free: 13.5 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.6112, allocations: 7.738 MB / 0.8407 GB, free: 5.738 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.613, allocations: 39.75 kB / 0.8407 GB, free: 5.699 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.6147, allocations: 0.5672 MB / 0.8413 GB, free: 5.129 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.6197, allocations: 1.833 MB / 0.8431 GB, free: 3.289 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.6224, allocations: 1.042 MB / 0.8441 GB, free: 2.262 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003845/0.6263, allocations: 3.5 MB / 0.8475 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.6275, allocations: 0.8325 MB / 0.8483 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002867/0.6304, allocations: 1.404 MB / 0.8497 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.632, allocations: 0.828 MB / 0.8505 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.6321, allocations: 52 kB / 0.8506 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.6355, allocations: 1.972 MB / 0.8525 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.6358, allocations: 278.9 kB / 0.8527 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0006328/0.6365, allocations: 0.5672 MB / 0.8533 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002801/0.6393, allocations: 2.154 MB / 0.8554 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6393, allocations: 4 kB / 0.8554 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.22e-07/0.6393, allocations: 0 / 0.8554 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.6393, allocations: 0 / 0.8554 GB, free: 6.625 MB / 0.5886 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.003477/0.6428, allocations: 1.666 MB / 0.857 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.6428, allocations: 8.031 kB / 0.857 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/0.6451, allocations: 434.1 kB / 0.8575 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.6468, allocations: 0.9212 MB / 0.8584 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006312/0.6474, allocations: 165.9 kB / 0.8585 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.6476, allocations: 72 kB / 0.8586 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.6499, allocations: 1.087 MB / 0.8596 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.65, allocations: 0 / 0.8596 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/0.6501, allocations: 35.98 kB / 0.8597 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/0.6501, allocations: 37.92 kB / 0.8597 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/0.6534, allocations: 1.194 MB / 0.8609 GB, free: 0.8945 MB / 0.5886 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.007217/0.6606, allocations: 4.114 MB / 0.8649 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.6632, allocations: 0.8649 MB / 0.8657 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.6646, allocations: 0.4988 MB / 0.8662 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009315/0.6656, allocations: 0.6292 MB / 0.8668 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001555/0.6672, allocations: 0.5991 MB / 0.8674 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 3.317e-06/0.6672, allocations: 0 / 0.8674 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.004386/0.6716, allocations: 1.407 MB / 0.8688 GB, free: 8.328 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.6716, allocations: 85.67 kB / 0.8689 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.6729, allocations: 0.8317 MB / 0.8697 GB, free: 7.371 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.305e-05/0.673, allocations: 41.7 kB / 0.8697 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.6733, allocations: 432.3 kB / 0.8701 GB, free: 6.898 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.6735, allocations: 193.1 kB / 0.8703 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.6738, allocations: 130.1 kB / 0.8705 GB, free: 6.574 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.6739, allocations: 326 kB / 0.8708 GB, free: 6.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.6752, allocations: 422.9 kB / 0.8712 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.6766, allocations: 0.5525 MB / 0.8717 GB, free: 5.238 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/0.6792, allocations: 0.9054 MB / 0.8726 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.6793, allocations: 0 / 0.8726 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003144/0.6824, allocations: 1.089 MB / 0.8737 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.6825, allocations: 33.7 kB / 0.8737 GB, free: 3.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.6825, allocations: 4 kB / 0.8737 GB, free: 3.156 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.6825, allocations: 4 kB / 0.8737 GB, free: 3.152 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.6839, allocations: 229.1 kB / 0.8739 GB, free: 2.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006609/0.6846, allocations: 1.191 MB / 0.8751 GB, free: 1.691 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.6858, allocations: 173.5 kB / 0.8752 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.105e-05/0.6859, allocations: 35.97 kB / 0.8753 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00156/0.6875, allocations: 0.618 MB / 0.8759 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001365/0.6889, allocations: 0.537 MB / 0.8764 GB, free: 292 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002547/0.6914, allocations: 0.8899 MB / 0.8773 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/0.6914, allocations: 4.875 kB / 0.8773 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.003139/0.6946, allocations: 1.081 MB / 0.8783 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.6946, allocations: 34.8 kB / 0.8784 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6946, allocations: 4 kB / 0.8784 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.6946, allocations: 7.984 kB / 0.8784 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.6957, allocations: 199.9 kB / 0.8786 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.6957, allocations: 7.938 kB / 0.8786 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.6969, allocations: 151.5 kB / 0.8787 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/0.697, allocations: 31.97 kB / 0.8788 GB, free: 13.83 MB / 0.6198 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.0002424/0.6972, allocations: 221.4 kB / 0.879 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.6974, allocations: 106.8 kB / 0.8791 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/0.7008, allocations: 1.125 MB / 0.8802 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.7008, allocations: 11.98 kB / 0.8802 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7009, allocations: 0 / 0.8802 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.7009, allocations: 0 / 0.8802 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004996/0.7059, allocations: 2.337 MB / 0.8825 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.7059, allocations: 4 kB / 0.8825 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.707, allocations: 196 kB / 0.8827 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.707, allocations: 8 kB / 0.8827 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.96e-05/0.7071, allocations: 19.98 kB / 0.8827 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005393/0.7076, allocations: 1.18 MB / 0.8838 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7076, allocations: 8.016 kB / 0.8838 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004987/0.7126, allocations: 2.492 MB / 0.8863 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/0.7132, allocations: 283.6 kB / 0.8865 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.7133, allocations: 15.98 kB / 0.8866 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.7145, allocations: 139.8 kB / 0.8867 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.7147, allocations: 56.3 kB / 0.8867 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.231e-05/0.7148, allocations: 31.97 kB / 0.8868 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007636/0.7155, allocations: 0.5743 MB / 0.8873 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7155, allocations: 7.938 kB / 0.8873 GB, free: 4.762 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001606/0.7172, allocations: 491.1 kB / 0.8878 GB, free: 4.281 MB / 0.6198 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.0008067/0.718, allocations: 298.7 kB / 0.8881 GB, free: 3.988 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005057/0.723, allocations: 1.625 MB / 0.8897 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/0.7231, allocations: 0 / 0.8897 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.7249, allocations: 0.5652 MB / 0.8902 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.728, allocations: 457.6 kB / 0.8907 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00522/0.7333, allocations: 2.606 MB / 0.8932 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/0.734, allocations: 1.062 MB / 0.8943 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001434/0.7355, allocations: 284.6 kB / 0.8945 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.7358, allocations: 79.41 kB / 0.8946 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of SimCode: time 1.423e-06/0.7358, allocations: 0 / 0.8946 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of Templates: time 0.03385/0.7697, allocations: 19.27 MB / 0.9134 GB, free: 10.12 MB / 0.6511 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)