Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001773/0.001773, allocations: 101.2 kB / 16.27 MB, free: 6.418 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.002187/0.002187, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8441/0.8441, allocations: 135.1 MB / 426.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 63.89 kB / 0.506 GB, free: 8.406 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3683, allocations: 80.91 MB / 0.585 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6244/0.9928, allocations: 214.2 MB / 0.7942 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01041/1.003, allocations: 7.03 MB / 0.801 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/1.005, allocations: 43.69 kB / 0.8011 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00203/1.008, allocations: 0.787 MB / 0.8018 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006382/1.014, allocations: 2.506 MB / 0.8043 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003122/1.017, allocations: 1.163 MB / 0.8054 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004039/1.021, allocations: 2.811 MB / 0.8082 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/1.023, allocations: 1.095 MB / 0.8092 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005151/1.028, allocations: 1.982 MB / 0.8112 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002609/1.031, allocations: 0.9379 MB / 0.8121 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00028/1.031, allocations: 118 kB / 0.8122 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00496/1.036, allocations: 2.447 MB / 0.8146 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005169/1.036, allocations: 426.3 kB / 0.815 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/1.037, allocations: 0.6885 MB / 0.8157 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004468/1.042, allocations: 2.471 MB / 0.8181 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.042, allocations: 3.219 kB / 0.8181 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/1.042, allocations: 0.8125 kB / 0.8181 GB, free: 320 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.062e-05/1.042, allocations: 0 / 0.8181 GB, free: 320 kB / 0.5762 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.004672/1.047, allocations: 1.839 MB / 0.8199 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.047, allocations: 15.14 kB / 0.8199 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003256/1.05, allocations: 0.5343 MB / 0.8204 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/1.052, allocations: 0.9588 MB / 0.8214 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006752/1.052, allocations: 178 kB / 0.8215 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/1.053, allocations: 86.97 kB / 0.8216 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/1.055, allocations: 1.234 MB / 0.8228 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/1.055, allocations: 0.7812 kB / 0.8228 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/1.055, allocations: 32.16 kB / 0.8228 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/1.055, allocations: 49.19 kB / 0.8229 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00365/1.059, allocations: 1.545 MB / 0.8244 GB, free: 14.89 MB / 0.5919 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.006744/1.066, allocations: 4.08 MB / 0.8284 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/1.069, allocations: 0.998 MB / 0.8294 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/1.07, allocations: 0.6671 MB / 0.83 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.071, allocations: 0.6026 MB / 0.8306 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/1.072, allocations: 51.78 kB / 0.8306 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/1.072, allocations: 0 / 0.8306 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.005188/1.077, allocations: 1.808 MB / 0.8324 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/1.077, allocations: 59.53 kB / 0.8325 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/1.078, allocations: 0.8215 MB / 0.8333 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/1.078, allocations: 38.58 kB / 0.8333 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/1.078, allocations: 456.2 kB / 0.8337 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/1.079, allocations: 252.8 kB / 0.834 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/1.079, allocations: 166.5 kB / 0.8341 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.079, allocations: 335.4 kB / 0.8345 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001475/1.081, allocations: 0.5389 MB / 0.835 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/1.082, allocations: 0.6626 MB / 0.8356 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/1.085, allocations: 1.152 MB / 0.8368 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.085, allocations: 2.469 kB / 0.8368 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00361/1.089, allocations: 1.363 MB / 0.8381 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/1.089, allocations: 37.7 kB / 0.8381 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.089, allocations: 0 / 0.8381 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.089, allocations: 4 kB / 0.8381 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/1.091, allocations: 273.2 kB / 0.8384 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007438/1.091, allocations: 1.187 MB / 0.8396 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.093, allocations: 147.3 kB / 0.8397 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.985e-05/1.093, allocations: 35.97 kB / 0.8397 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002162/1.095, allocations: 0.7711 MB / 0.8405 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001563/1.097, allocations: 0.6598 MB / 0.8411 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002974/1.1, allocations: 1.141 MB / 0.8422 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/1.1, allocations: 0 / 0.8422 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003584/1.103, allocations: 1.363 MB / 0.8436 GB, free: 356 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/1.103, allocations: 41.62 kB / 0.8436 GB, free: 308 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.103, allocations: 4 kB / 0.8436 GB, free: 304 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/1.103, allocations: 4 kB / 0.8436 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/1.105, allocations: 229.2 kB / 0.8438 GB, free: 80 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/1.105, allocations: 8 kB / 0.8438 GB, free: 72 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.106, allocations: 131.4 kB / 0.844 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.831e-05/1.106, allocations: 39.97 kB / 0.844 GB, free: 15.9 MB / 0.6075 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.0003399/1.106, allocations: 221.7 kB / 0.8442 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/1.107, allocations: 106.7 kB / 0.8443 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/1.11, allocations: 1.359 MB / 0.8456 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.11, allocations: 8 kB / 0.8457 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/1.11, allocations: 4 kB / 0.8457 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1.11, allocations: 3.984 kB / 0.8457 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005934/1.116, allocations: 2.864 MB / 0.8485 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.116, allocations: 4 kB / 0.8485 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/1.118, allocations: 233.7 kB / 0.8487 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/1.118, allocations: 11.94 kB / 0.8487 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-05/1.118, allocations: 23.92 kB / 0.8487 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006877/1.118, allocations: 1.195 MB / 0.8499 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.118, allocations: 11.25 kB / 0.8499 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/1.122, allocations: 1.454 MB / 0.8513 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/1.123, allocations: 315.4 kB / 0.8516 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/1.123, allocations: 20 kB / 0.8516 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.124, allocations: 115.8 kB / 0.8517 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.124, allocations: 59.58 kB / 0.8518 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/1.124, allocations: 31.98 kB / 0.8518 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008341/1.125, allocations: 0.57 MB / 0.8524 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.125, allocations: 0 / 0.8524 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001479/1.126, allocations: 0.5379 MB / 0.8529 GB, free: 6.594 MB / 0.6075 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.0006698/1.127, allocations: 278.8 kB / 0.8532 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005827/1.133, allocations: 2.15 MB / 0.8553 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.133, allocations: 0 / 0.8553 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/1.135, allocations: 0.6699 MB / 0.8559 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/1.137, allocations: 0.4969 MB / 0.8564 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/1.142, allocations: 2.17 MB / 0.8585 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/1.143, allocations: 1.091 MB / 0.8596 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004411/1.143, allocations: 95.39 kB / 0.8597 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of SimCode: time 1.313e-06/1.143, allocations: 4 kB / 0.8597 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.0343/1.177, allocations: 26.72 MB / 0.8858 GB, free: 5.031 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)