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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00147/0.001471, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7605/0.7605, allocations: 132.2 MB / 422.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 57.09 kB / 0.5013 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1614, allocations: 80.21 MB / 0.5796 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.478/0.6395, allocations: 211.5 MB / 0.7861 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.65, allocations: 6.998 MB / 0.793 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.652, allocations: 39.75 kB / 0.793 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.6544, allocations: 0.6919 MB / 0.7937 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006515/0.6609, allocations: 2.35 MB / 0.796 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.6639, allocations: 1.066 MB / 0.797 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003798/0.6677, allocations: 2.825 MB / 0.7998 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.6693, allocations: 1.076 MB / 0.8008 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/0.6736, allocations: 1.981 MB / 0.8028 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.676, allocations: 0.9823 MB / 0.8037 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.6762, allocations: 120 kB / 0.8038 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004405/0.6806, allocations: 2.572 MB / 0.8064 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000479/0.6811, allocations: 430.6 kB / 0.8068 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008215/0.6819, allocations: 0.6882 MB / 0.8074 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003799/0.6857, allocations: 2.618 MB / 0.81 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6858, allocations: 0 / 0.81 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.664e-06/0.6858, allocations: 0 / 0.81 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.6858, allocations: 0 / 0.81 GB, free: 7.152 MB / 0.6231 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.004307/0.6901, allocations: 1.85 MB / 0.8118 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6902, allocations: 8.031 kB / 0.8118 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003129/0.6933, allocations: 0.5408 MB / 0.8123 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.695, allocations: 0.9563 MB / 0.8133 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006131/0.6957, allocations: 181.8 kB / 0.8134 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.6958, allocations: 87.98 kB / 0.8135 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.6985, allocations: 1.229 MB / 0.8147 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.6985, allocations: 3.938 kB / 0.8147 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.6987, allocations: 36 kB / 0.8148 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.432e-05/0.6987, allocations: 45.98 kB / 0.8148 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003531/0.7023, allocations: 1.55 MB / 0.8163 GB, free: 0.5586 MB / 0.6231 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.00647/0.7087, allocations: 4.045 MB / 0.8203 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.7112, allocations: 1.003 MB / 0.8213 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.7127, allocations: 0.663 MB / 0.8219 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/0.7138, allocations: 0.6087 MB / 0.8225 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.7138, allocations: 43.22 kB / 0.8225 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.756e-06/0.7138, allocations: 0 / 0.8225 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004783/0.7186, allocations: 1.808 MB / 0.8243 GB, free: 7.984 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.7187, allocations: 64.06 kB / 0.8244 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.7198, allocations: 0.8154 MB / 0.8252 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.7199, allocations: 45.7 kB / 0.8252 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.7203, allocations: 444.5 kB / 0.8256 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.7205, allocations: 260.2 kB / 0.8259 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/0.7208, allocations: 158.5 kB / 0.826 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.721, allocations: 337.9 kB / 0.8264 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.7223, allocations: 0.5473 MB / 0.8269 GB, free: 5.273 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.7238, allocations: 0.6643 MB / 0.8275 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.7265, allocations: 1.147 MB / 0.8287 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.7265, allocations: 0 / 0.8287 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00341/0.7299, allocations: 1.368 MB / 0.83 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.73, allocations: 33.7 kB / 0.83 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.73, allocations: 0 / 0.83 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.73, allocations: 4 kB / 0.83 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.7316, allocations: 271.6 kB / 0.8303 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007049/0.7323, allocations: 1.192 MB / 0.8315 GB, free: 500 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.7336, allocations: 179.3 kB / 0.8316 GB, free: 320 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/0.7337, allocations: 35.97 kB / 0.8317 GB, free: 284 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001705/0.7354, allocations: 0.7595 MB / 0.8324 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001408/0.7368, allocations: 0.661 MB / 0.833 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002673/0.7395, allocations: 1.143 MB / 0.8342 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.257e-06/0.7395, allocations: 0 / 0.8342 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003339/0.7428, allocations: 1.357 MB / 0.8355 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.7429, allocations: 33.64 kB / 0.8355 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.7429, allocations: 4 kB / 0.8355 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.7429, allocations: 4 kB / 0.8355 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.7441, allocations: 235.8 kB / 0.8358 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.7441, allocations: 11.92 kB / 0.8358 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.7454, allocations: 167.3 kB / 0.8359 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.149e-05/0.7455, allocations: 31.98 kB / 0.836 GB, free: 11.8 MB / 0.6544 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.0003082/0.7458, allocations: 220.1 kB / 0.8362 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.746, allocations: 106.7 kB / 0.8363 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003407/0.7495, allocations: 1.36 MB / 0.8376 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.7495, allocations: 12 kB / 0.8376 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7495, allocations: 0 / 0.8376 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.7495, allocations: 4.078 kB / 0.8376 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005586/0.7551, allocations: 2.859 MB / 0.8404 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.7552, allocations: 12.27 kB / 0.8404 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.7564, allocations: 239.6 kB / 0.8406 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.7564, allocations: 8 kB / 0.8406 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/0.7565, allocations: 27.92 kB / 0.8407 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006252/0.7571, allocations: 1.195 MB / 0.8418 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.7572, allocations: 4 kB / 0.8418 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.7604, allocations: 1.467 MB / 0.8433 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000621/0.761, allocations: 311.4 kB / 0.8436 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.7612, allocations: 20 kB / 0.8436 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.7624, allocations: 143.7 kB / 0.8437 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.7625, allocations: 60.42 kB / 0.8438 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.7626, allocations: 39.91 kB / 0.8438 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007076/0.7633, allocations: 0.5738 MB / 0.8444 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7633, allocations: 4 kB / 0.8444 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001364/0.7647, allocations: 0.534 MB / 0.8449 GB, free: 2.371 MB / 0.6544 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.0006209/0.7653, allocations: 268.1 kB / 0.8452 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005363/0.7707, allocations: 2.152 MB / 0.8473 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.7708, allocations: 4 kB / 0.8473 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.7724, allocations: 0.6637 MB / 0.8479 GB, free: 15.28 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.7748, allocations: 0.4967 MB / 0.8484 GB, free: 14.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.7791, allocations: 2.499 MB / 0.8508 GB, free: 12.23 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/0.7798, allocations: 1.091 MB / 0.8519 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001593/0.7814, allocations: 395.5 kB / 0.8523 GB, free: 10.71 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/0.7817, allocations: 91.39 kB / 0.8524 GB, free: 10.62 MB / 0.67 GB Notification: Performance of SimCode: time 2.605e-06/0.7817, allocations: 0 / 0.8524 GB, free: 10.62 MB / 0.67 GB Notification: Performance of Templates: time 0.2797/1.061, allocations: 20.58 MB / 0.8725 GB, free: 224.9 MB / 0.67 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)