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-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_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.0008482/0.0008483, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.0008932/0.0008932, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8355/0.8355, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003076, allocations: 15.98 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1569, allocations: 82.31 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4227/0.5796, allocations: 176.6 MB / 0.7597 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01083/0.5905, allocations: 6.966 MB / 0.7665 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.5917, allocations: 35.75 kB / 0.7665 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.5939, allocations: 0.7233 MB / 0.7672 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005686/0.5996, allocations: 2.177 MB / 0.7693 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.6025, allocations: 1.121 MB / 0.7704 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002455/0.605, allocations: 1.635 MB / 0.772 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.606, allocations: 0.8396 MB / 0.7728 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.6084, allocations: 1.308 MB / 0.7741 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000736/0.6092, allocations: 0.6225 MB / 0.7747 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.697e-05/0.6093, allocations: 48 kB / 0.7748 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.6118, allocations: 1.322 MB / 0.7761 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.6121, allocations: 318.9 kB / 0.7764 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.6123, allocations: 273.1 kB / 0.7766 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.614, allocations: 1.598 MB / 0.7782 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.614, allocations: 0 / 0.7782 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.614, allocations: 0 / 0.7782 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.614, allocations: 3.938 kB / 0.7782 GB, free: 9.02 MB / 0.5919 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.00355/0.6175, allocations: 1.587 MB / 0.7797 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.6176, allocations: 12.03 kB / 0.7798 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/0.6204, allocations: 0.5838 MB / 0.7803 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.622, allocations: 0.9259 MB / 0.7812 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005857/0.6226, allocations: 197.9 kB / 0.7814 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.6228, allocations: 88 kB / 0.7815 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.6252, allocations: 1.257 MB / 0.7827 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.6252, allocations: 0 / 0.7827 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.47e-05/0.6253, allocations: 35.98 kB / 0.7828 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/0.6254, allocations: 49.92 kB / 0.7828 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003417/0.6288, allocations: 1.608 MB / 0.7844 GB, free: 2.574 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.00581/0.6346, allocations: 4.103 MB / 0.7884 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.637, allocations: 1.065 MB / 0.7894 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006492/0.6376, allocations: 290.9 kB / 0.7897 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.6377, allocations: 43.22 kB / 0.7897 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/0.6377, allocations: 0 / 0.7897 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.004477/0.6422, allocations: 1.91 MB / 0.7916 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.6422, allocations: 60.06 kB / 0.7917 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008978/0.6431, allocations: 0.8153 MB / 0.7925 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-05/0.6432, allocations: 45.7 kB / 0.7925 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.6435, allocations: 436.6 kB / 0.7929 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.6437, allocations: 268.2 kB / 0.7932 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.6438, allocations: 12 kB / 0.7932 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6439, allocations: 330 kB / 0.7935 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.6453, allocations: 0.5602 MB / 0.7941 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.6468, allocations: 0.7075 MB / 0.7947 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.6481, allocations: 0.6177 MB / 0.7953 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6481, allocations: 0 / 0.7953 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003167/0.6513, allocations: 1.427 MB / 0.7967 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002365/0.6516, allocations: 0.557 MB / 0.7973 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.6516, allocations: 0 / 0.7973 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.6516, allocations: 12 kB / 0.7973 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.6531, allocations: 275.6 kB / 0.7976 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000632/0.6537, allocations: 1.199 MB / 0.7987 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.6549, allocations: 200.1 kB / 0.7989 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/0.6549, allocations: 31.98 kB / 0.799 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.655, allocations: 4 kB / 0.799 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002906/0.6579, allocations: 1.321 MB / 0.8002 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.6579, allocations: 4 kB / 0.8002 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-06/0.6579, allocations: 4 kB / 0.8003 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.659, allocations: 247.8 kB / 0.8005 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.659, allocations: 4 kB / 0.8005 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.66, allocations: 199.8 kB / 0.8007 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.6601, allocations: 35.98 kB / 0.8007 GB, free: 1.309 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005151/0.6606, allocations: 380.9 kB / 0.8011 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.6608, allocations: 102.7 kB / 0.8012 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/0.664, allocations: 1.426 MB / 0.8026 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.664, allocations: 8.094 kB / 0.8026 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.664, allocations: 3.984 kB / 0.8026 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.664, allocations: 3.984 kB / 0.8026 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.6691, allocations: 2.989 MB / 0.8055 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.6691, allocations: 7.938 kB / 0.8055 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.6703, allocations: 260.2 kB / 0.8058 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.6703, allocations: 8 kB / 0.8058 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.6704, allocations: 23.98 kB / 0.8058 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005279/0.6709, allocations: 1.192 MB / 0.807 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.6709, allocations: 11.94 kB / 0.807 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/0.6741, allocations: 1.753 MB / 0.8087 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/0.6746, allocations: 311.5 kB / 0.809 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.6747, allocations: 16 kB / 0.809 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.6759, allocations: 163.8 kB / 0.8091 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.676, allocations: 68.38 kB / 0.8092 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-05/0.6761, allocations: 35.97 kB / 0.8092 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006783/0.6767, allocations: 0.5583 MB / 0.8098 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6768, allocations: 0 / 0.8098 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001352/0.6781, allocations: 0.5341 MB / 0.8103 GB, free: 7.102 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005541/0.6787, allocations: 272.4 kB / 0.8106 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004898/0.6836, allocations: 2.131 MB / 0.8127 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.6836, allocations: 4 kB / 0.8127 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.6852, allocations: 0.7107 MB / 0.8134 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.6874, allocations: 0.5003 MB / 0.8138 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.6914, allocations: 2.49 MB / 0.8163 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.6921, allocations: 1.114 MB / 0.8174 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001428/0.6935, allocations: 395.5 kB / 0.8177 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.6938, allocations: 87.39 kB / 0.8178 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.6938, allocations: 0 / 0.8178 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.03069/0.7245, allocations: 19.41 MB / 0.8368 GB, free: 12.16 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: