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.000895/0.000895, allocations: 99.55 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.0008878/0.0008879, allocations: 177.3 kB / 15.94 MB, free: 228 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.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.872/0.872, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002852, allocations: 8 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1445, allocations: 82.31 MB / 0.5872 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4028/0.5473, allocations: 176.6 MB / 0.7597 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009615/0.5569, allocations: 6.981 MB / 0.7665 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.558, allocations: 31.75 kB / 0.7665 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.56, allocations: 0.7233 MB / 0.7672 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005349/0.5653, allocations: 2.166 MB / 0.7693 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.5683, allocations: 1.142 MB / 0.7704 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00291/0.5712, allocations: 1.623 MB / 0.772 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.5724, allocations: 0.8332 MB / 0.7728 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003407/0.5758, allocations: 1.308 MB / 0.7741 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.5768, allocations: 0.6263 MB / 0.7747 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.577, allocations: 48 kB / 0.7748 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/0.5798, allocations: 1.322 MB / 0.7761 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003375/0.5802, allocations: 319 kB / 0.7764 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.5805, allocations: 273 kB / 0.7766 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.5823, allocations: 1.602 MB / 0.7782 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5824, allocations: 0 / 0.7782 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5824, allocations: 0 / 0.7782 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.5824, allocations: 0 / 0.7782 GB, free: 9.008 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.003755/0.5861, allocations: 1.577 MB / 0.7797 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5862, allocations: 12.02 kB / 0.7797 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002893/0.5891, allocations: 0.5955 MB / 0.7803 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.5908, allocations: 0.9219 MB / 0.7812 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000594/0.5914, allocations: 193.9 kB / 0.7814 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.5915, allocations: 91.98 kB / 0.7815 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.5941, allocations: 1.253 MB / 0.7827 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.5941, allocations: 4 kB / 0.7827 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.413e-05/0.5942, allocations: 28 kB / 0.7828 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.89e-05/0.5942, allocations: 49.94 kB / 0.7828 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003432/0.5977, allocations: 1.612 MB / 0.7844 GB, free: 2.566 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.005876/0.6036, allocations: 4.098 MB / 0.7884 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.6059, allocations: 1.068 MB / 0.7894 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006626/0.6066, allocations: 298.9 kB / 0.7897 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.6066, allocations: 39.22 kB / 0.7897 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.184e-06/0.6067, allocations: 0 / 0.7897 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.004439/0.6111, allocations: 1.906 MB / 0.7916 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.6112, allocations: 60.06 kB / 0.7917 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000859/0.612, allocations: 0.8192 MB / 0.7925 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.78e-05/0.6121, allocations: 45.7 kB / 0.7925 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.6124, allocations: 436.5 kB / 0.7929 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.6126, allocations: 264.2 kB / 0.7932 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.6127, allocations: 12 kB / 0.7932 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6128, allocations: 337.9 kB / 0.7935 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.6142, allocations: 0.5602 MB / 0.7941 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.6156, allocations: 0.6997 MB / 0.7947 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.617, allocations: 0.6177 MB / 0.7953 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.617, allocations: 0 / 0.7953 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003039/0.62, allocations: 1.423 MB / 0.7967 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.6202, allocations: 0.5648 MB / 0.7973 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.6203, allocations: 0 / 0.7973 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6203, allocations: 4 kB / 0.7973 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.6217, allocations: 277 kB / 0.7975 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006396/0.6224, allocations: 1.199 MB / 0.7987 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.6235, allocations: 199.2 kB / 0.7989 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/0.6236, allocations: 35.98 kB / 0.7989 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.6236, allocations: 4 kB / 0.7989 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002925/0.6266, allocations: 1.321 MB / 0.8002 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.6266, allocations: 0 / 0.8002 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.605e-06/0.6266, allocations: 8 kB / 0.8002 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.6277, allocations: 251.7 kB / 0.8005 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6277, allocations: 4 kB / 0.8005 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.6288, allocations: 208.8 kB / 0.8007 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.623e-05/0.6289, allocations: 36.84 kB / 0.8007 GB, free: 1.289 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.0004982/0.6294, allocations: 369 kB / 0.8011 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.6295, allocations: 102.8 kB / 0.8012 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/0.6327, allocations: 1.424 MB / 0.8026 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.6327, allocations: 8 kB / 0.8026 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6328, allocations: 3.938 kB / 0.8026 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6328, allocations: 7.938 kB / 0.8026 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/0.638, allocations: 2.986 MB / 0.8055 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.638, allocations: 11.92 kB / 0.8055 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.6392, allocations: 252.1 kB / 0.8058 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.6392, allocations: 8 kB / 0.8058 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.6393, allocations: 23.98 kB / 0.8058 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006781/0.64, allocations: 1.199 MB / 0.807 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.64, allocations: 4 kB / 0.807 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00319/0.6432, allocations: 1.749 MB / 0.8087 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000538/0.6437, allocations: 315.5 kB / 0.809 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.6439, allocations: 16.09 kB / 0.809 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.645, allocations: 163.8 kB / 0.8091 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.6452, allocations: 72.36 kB / 0.8092 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-05/0.6452, allocations: 35.97 kB / 0.8092 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006688/0.6459, allocations: 0.5583 MB / 0.8098 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6459, allocations: 0 / 0.8098 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001297/0.6472, 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.0005295/0.6477, allocations: 280.2 kB / 0.8106 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004863/0.6526, allocations: 2.135 MB / 0.8127 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6526, allocations: 0 / 0.8127 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.6542, allocations: 0.7146 MB / 0.8134 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.6564, allocations: 0.4995 MB / 0.8138 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.6603, allocations: 2.493 MB / 0.8163 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/0.6609, allocations: 1.118 MB / 0.8174 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001382/0.6623, allocations: 391.5 kB / 0.8177 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.6626, allocations: 91.39 kB / 0.8178 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of SimCode: time 4.41e-07/0.6626, allocations: 0 / 0.8178 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.02721/0.6899, allocations: 19.4 MB / 0.8368 GB, free: 12.16 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: