Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Examples.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, 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.7528/0.7528, 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.366/1.366, allocations: 222.9 MB / 403.4 MB, free: 7.039 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.001386/0.001386, allocations: 110.7 kB / 484.4 MB, free: 8.66 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009633/0.0009633, allocations: 55.92 kB / 0.5618 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1307, allocations: 80.21 MB / 0.6402 GB, free: 6.738 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4602/0.591, allocations: 212 MB / 0.8472 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.009959/0.601, allocations: 7.136 MB / 0.8542 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.6024, allocations: 35.75 kB / 0.8542 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.6043, allocations: 0.6528 MB / 0.8549 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005955/0.6103, allocations: 2.347 MB / 0.8571 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.6131, allocations: 1.062 MB / 0.8582 GB, free: 3.695 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004167/0.6172, allocations: 3.761 MB / 0.8619 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.6186, allocations: 0.9278 MB / 0.8628 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.6222, allocations: 1.81 MB / 0.8645 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.6243, allocations: 0.9395 MB / 0.8654 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.6245, allocations: 60 kB / 0.8655 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00452/0.6291, allocations: 2.81 MB / 0.8682 GB, free: 9.348 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.6295, allocations: 382.6 kB / 0.8686 GB, free: 8.973 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007143/0.6302, allocations: 0.6256 MB / 0.8692 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003541/0.6338, allocations: 2.563 MB / 0.8717 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6338, allocations: 0 / 0.8717 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6338, allocations: 0 / 0.8717 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.6338, allocations: 0 / 0.8717 GB, free: 5.773 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004395/0.6382, allocations: 1.848 MB / 0.8735 GB, free: 3.863 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.6383, allocations: 12.03 kB / 0.8735 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/0.6412, allocations: 0.533 MB / 0.8741 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.6429, allocations: 0.9602 MB / 0.875 GB, free: 2.312 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006149/0.6436, allocations: 173.9 kB / 0.8752 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.6437, allocations: 84 kB / 0.8752 GB, free: 2.062 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.6465, allocations: 1.233 MB / 0.8765 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.6465, allocations: 3.938 kB / 0.8765 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.6467, allocations: 39.98 kB / 0.8765 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.11e-05/0.6467, allocations: 41.98 kB / 0.8765 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003796/0.6505, allocations: 1.554 MB / 0.878 GB, free: 15.18 MB / 0.6198 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.006582/0.6571, allocations: 4.045 MB / 0.882 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.6598, allocations: 1.002 MB / 0.883 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.6613, allocations: 0.6637 MB / 0.8836 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.6624, allocations: 0.6087 MB / 0.8842 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.6624, allocations: 39.22 kB / 0.8843 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 2.615e-06/0.6624, allocations: 4 kB / 0.8843 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.004965/0.6674, allocations: 1.82 MB / 0.886 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.6675, allocations: 60.06 kB / 0.8861 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.6687, allocations: 0.8193 MB / 0.8869 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.6688, allocations: 41.7 kB / 0.8869 GB, free: 5.621 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.6692, allocations: 436.5 kB / 0.8874 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.6694, allocations: 264.2 kB / 0.8876 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/0.6698, allocations: 158.5 kB / 0.8878 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6699, allocations: 337.9 kB / 0.8881 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.6717, allocations: 0.5395 MB / 0.8886 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.6736, allocations: 0.6637 MB / 0.8893 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/0.6769, allocations: 1.155 MB / 0.8904 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6769, allocations: 0 / 0.8904 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003453/0.6804, allocations: 1.357 MB / 0.8917 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.6805, allocations: 41.69 kB / 0.8917 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6805, allocations: 0 / 0.8917 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6805, allocations: 4 kB / 0.8917 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.682, allocations: 267.6 kB / 0.892 GB, free: 336 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006453/0.6827, allocations: 1.192 MB / 0.8932 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.6839, allocations: 179.3 kB / 0.8933 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/0.684, allocations: 39.92 kB / 0.8934 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001795/0.6858, allocations: 0.7634 MB / 0.8941 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001535/0.6874, allocations: 0.6598 MB / 0.8948 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002872/0.6902, allocations: 1.139 MB / 0.8959 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.596e-06/0.6903, allocations: 0 / 0.8959 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003484/0.6938, allocations: 1.353 MB / 0.8972 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.6938, allocations: 47.03 kB / 0.8972 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6938, allocations: 4.062 kB / 0.8972 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.6938, allocations: 4 kB / 0.8973 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.6951, allocations: 227.7 kB / 0.8975 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.6951, allocations: 8 kB / 0.8975 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.6963, allocations: 169.3 kB / 0.8976 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.153e-05/0.6964, allocations: 39.97 kB / 0.8977 GB, free: 10.39 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * 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.0002628/0.6967, allocations: 217.5 kB / 0.8979 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.6969, allocations: 102.7 kB / 0.898 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/0.7006, allocations: 1.375 MB / 0.8993 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.7006, allocations: 8 kB / 0.8993 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7006, allocations: 0 / 0.8993 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.7006, allocations: 3.984 kB / 0.8993 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005835/0.7064, allocations: 2.855 MB / 0.9021 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.7065, allocations: 4 kB / 0.9021 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.7077, allocations: 239.8 kB / 0.9024 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.7078, allocations: 4 kB / 0.9024 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/0.7078, allocations: 27.97 kB / 0.9024 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005579/0.7084, allocations: 1.199 MB / 0.9036 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/0.7084, allocations: 7.938 kB / 0.9036 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00558/0.714, allocations: 2.912 MB / 0.9064 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006414/0.7147, allocations: 303.5 kB / 0.9067 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.7149, allocations: 23.98 kB / 0.9067 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.7162, allocations: 139.8 kB / 0.9069 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.7163, allocations: 64.36 kB / 0.9069 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-05/0.7164, allocations: 43.91 kB / 0.907 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007793/0.7172, allocations: 0.5661 MB / 0.9075 GB, free: 20 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7172, allocations: 0 / 0.9075 GB, free: 20 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001837/0.7191, allocations: 0.5419 MB / 0.908 GB, free: 15.47 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006664/0.7197, allocations: 274.7 kB / 0.9083 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005694/0.7255, allocations: 2.037 MB / 0.9103 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.7255, allocations: 0 / 0.9103 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001886/0.7274, allocations: 0.6754 MB / 0.911 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/0.7304, allocations: 0.5039 MB / 0.9114 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/0.7356, allocations: 2.918 MB / 0.9143 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/0.7363, allocations: 1.114 MB / 0.9154 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001735/0.7381, allocations: 387.5 kB / 0.9158 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.7384, allocations: 91.39 kB / 0.9158 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/0.7384, allocations: 0 / 0.9158 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of Templates: time 0.03266/0.7711, allocations: 20.63 MB / 0.936 GB, free: 2.957 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)