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.001042/0.001042, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001386/0.001386, allocations: 193.6 kB / 16.14 MB, free: 6.688 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8076/0.8076, allocations: 132.2 MB / 422.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 61.58 kB / 0.5011 GB, free: 9.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.173, allocations: 80.2 MB / 0.5794 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5964/0.7695, allocations: 212 MB / 0.7865 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.7824, allocations: 7.13 MB / 0.7934 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/0.7848, allocations: 47.69 kB / 0.7935 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.7875, allocations: 0.6489 MB / 0.7941 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007803/0.7954, allocations: 2.355 MB / 0.7964 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/0.7989, allocations: 1.049 MB / 0.7974 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005253/0.8041, allocations: 3.752 MB / 0.8011 GB, free: 324 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.8062, allocations: 0.9277 MB / 0.802 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005004/0.8112, allocations: 1.794 MB / 0.8037 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/0.8141, allocations: 0.9496 MB / 0.8047 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004553/0.8146, allocations: 64 kB / 0.8047 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006251/0.8209, allocations: 2.81 MB / 0.8075 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008053/0.8217, allocations: 370.7 kB / 0.8078 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.8234, allocations: 0.6218 MB / 0.8084 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007049/0.8305, allocations: 2.571 MB / 0.811 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.8306, allocations: 0 / 0.811 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8306, allocations: 0 / 0.811 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001113/0.8307, allocations: 0 / 0.811 GB, free: 6.172 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.00754/0.8382, allocations: 1.851 MB / 0.8128 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.8383, allocations: 12.03 kB / 0.8128 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003312/0.8416, allocations: 0.533 MB / 0.8133 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.8436, allocations: 0.9563 MB / 0.8142 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006326/0.8442, allocations: 173.9 kB / 0.8144 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.8444, allocations: 87.94 kB / 0.8145 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.8472, allocations: 1.241 MB / 0.8157 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.8473, allocations: 0 / 0.8157 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.8474, allocations: 31.98 kB / 0.8157 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/0.8474, allocations: 49.98 kB / 0.8158 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/0.8511, allocations: 1.542 MB / 0.8173 GB, free: 15.59 MB / 0.6387 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.006646/0.8578, allocations: 4.04 MB / 0.8212 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.8603, allocations: 1 MB / 0.8222 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.8618, allocations: 0.6708 MB / 0.8228 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.863, allocations: 0.6086 MB / 0.8234 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.863, allocations: 39.22 kB / 0.8235 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 4.379e-06/0.863, allocations: 4 kB / 0.8235 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004956/0.868, allocations: 1.816 MB / 0.8253 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.868, allocations: 60.06 kB / 0.8253 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.8692, allocations: 0.8193 MB / 0.8261 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.8693, allocations: 45.7 kB / 0.8262 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.8697, allocations: 440.5 kB / 0.8266 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.8699, allocations: 260.2 kB / 0.8268 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.8702, allocations: 154.5 kB / 0.827 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.8703, allocations: 337.9 kB / 0.8273 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.8718, allocations: 0.5512 MB / 0.8278 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.8733, allocations: 0.6559 MB / 0.8285 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.8762, allocations: 1.155 MB / 0.8296 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.8762, allocations: 0 / 0.8296 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003509/0.8797, allocations: 1.36 MB / 0.8309 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.8798, allocations: 40.03 kB / 0.831 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.8798, allocations: 4 kB / 0.831 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.8798, allocations: 4 kB / 0.831 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.8815, allocations: 267.3 kB / 0.8312 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007194/0.8822, allocations: 1.192 MB / 0.8324 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.8836, allocations: 175.3 kB / 0.8326 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.122e-05/0.8837, allocations: 31.98 kB / 0.8326 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001818/0.8855, allocations: 0.7673 MB / 0.8333 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001518/0.887, allocations: 0.6637 MB / 0.834 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002879/0.8899, allocations: 1.139 MB / 0.8351 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.516e-06/0.8899, allocations: 3.938 kB / 0.8351 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003535/0.8935, allocations: 1.353 MB / 0.8364 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.8935, allocations: 37.64 kB / 0.8365 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8936, allocations: 4 kB / 0.8365 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.124e-06/0.8936, allocations: 4.062 kB / 0.8365 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.8948, allocations: 235.7 kB / 0.8367 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.8948, allocations: 7.938 kB / 0.8367 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.8961, allocations: 164.6 kB / 0.8369 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.473e-05/0.8962, allocations: 35.97 kB / 0.8369 GB, free: 10.82 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.000317/0.8965, allocations: 222.2 kB / 0.8371 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.8968, allocations: 106.7 kB / 0.8372 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/0.9004, allocations: 1.364 MB / 0.8385 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.9005, allocations: 8 kB / 0.8385 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.9005, allocations: 0 / 0.8385 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.9005, allocations: 3.984 kB / 0.8386 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007248/0.9078, allocations: 2.867 MB / 0.8414 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.9078, allocations: 8.094 kB / 0.8414 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/0.9093, allocations: 233.8 kB / 0.8416 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.266e-05/0.9093, allocations: 8 kB / 0.8416 GB, free: 5.906 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.931e-05/0.9094, allocations: 23.98 kB / 0.8416 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009972/0.9104, allocations: 1.195 MB / 0.8428 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.9105, allocations: 8.031 kB / 0.8428 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003509/0.914, allocations: 1.475 MB / 0.8442 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006618/0.9147, allocations: 307.5 kB / 0.8445 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.9148, allocations: 23.98 kB / 0.8445 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.916, allocations: 139.8 kB / 0.8447 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.9162, allocations: 60.42 kB / 0.8447 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.9163, allocations: 39.97 kB / 0.8448 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000789/0.9171, allocations: 0.57 MB / 0.8453 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9171, allocations: 0 / 0.8453 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001523/0.9187, allocations: 0.5418 MB / 0.8459 GB, free: 1.395 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.0006158/0.9193, allocations: 263.1 kB / 0.8461 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005246/0.9245, allocations: 2.053 MB / 0.8481 GB, free: 15.07 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.9246, allocations: 0 / 0.8481 GB, free: 15.07 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.9263, allocations: 0.6675 MB / 0.8488 GB, free: 14.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.929, allocations: 0.5077 MB / 0.8493 GB, free: 13.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/0.9345, allocations: 2.501 MB / 0.8517 GB, free: 11.33 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.9356, allocations: 1.094 MB / 0.8528 GB, free: 10.21 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002369/0.938, allocations: 395.5 kB / 0.8532 GB, free: 9.816 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/0.9385, allocations: 79.41 kB / 0.8532 GB, free: 9.738 MB / 0.67 GB Notification: Performance of SimCode: time 1.072e-06/0.9385, allocations: 3.938 kB / 0.8532 GB, free: 9.734 MB / 0.67 GB Notification: Performance of Templates: time 0.3178/1.256, allocations: 20.11 MB / 0.8729 GB, free: 225.6 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)