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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7113/0.7113, allocations: 133.4 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 222.9 MB / 404.7 MB, free: 6.121 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 103.6 kB / 485.9 MB, free: 7.227 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009853/0.0009853, allocations: 55.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1259, allocations: 80.43 MB / 0.6421 GB, free: 5.418 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5209/0.6469, allocations: 212 MB / 0.8492 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.6575, allocations: 7.135 MB / 0.8561 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.6591, allocations: 35.75 kB / 0.8562 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.661, allocations: 0.6489 MB / 0.8568 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005774/0.6667, allocations: 2.36 MB / 0.8591 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.6694, allocations: 1.054 MB / 0.8602 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004068/0.6735, allocations: 3.757 MB / 0.8638 GB, free: 14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.6748, allocations: 0.9316 MB / 0.8647 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.6785, allocations: 1.806 MB / 0.8665 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.6805, allocations: 0.948 MB / 0.8674 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.6807, allocations: 63.94 kB / 0.8675 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004459/0.6851, allocations: 2.806 MB / 0.8702 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003994/0.6855, allocations: 378.6 kB / 0.8706 GB, free: 7.039 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007686/0.6863, allocations: 0.6218 MB / 0.8712 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003515/0.6898, allocations: 2.563 MB / 0.8737 GB, free: 3.844 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6899, allocations: 4 kB / 0.8737 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6899, allocations: 0 / 0.8737 GB, free: 3.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.6899, allocations: 0 / 0.8737 GB, free: 3.84 MB / 0.6042 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.004147/0.694, allocations: 1.844 MB / 0.8755 GB, free: 1.934 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.6941, allocations: 8.031 kB / 0.8755 GB, free: 1.926 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/0.6971, allocations: 0.5408 MB / 0.876 GB, free: 1.383 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.6989, allocations: 0.9563 MB / 0.877 GB, free: 392 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006272/0.6996, allocations: 185.8 kB / 0.8771 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.6997, allocations: 83.98 kB / 0.8772 GB, free: 124 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.7024, allocations: 1.229 MB / 0.8784 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.7025, allocations: 3.938 kB / 0.8784 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.7026, allocations: 36 kB / 0.8785 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.864e-05/0.7026, allocations: 45.97 kB / 0.8785 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003778/0.7064, allocations: 1.55 MB / 0.88 GB, free: 13.25 MB / 0.6198 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.006455/0.7129, allocations: 4.049 MB / 0.884 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.7155, allocations: 0.9993 MB / 0.8849 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.7171, allocations: 0.6591 MB / 0.8856 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.7182, allocations: 0.6087 MB / 0.8862 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.7182, allocations: 39.22 kB / 0.8862 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 2.946e-06/0.7182, allocations: 4 kB / 0.8862 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.005073/0.7233, allocations: 1.812 MB / 0.888 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.7234, allocations: 64.05 kB / 0.8881 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.7244, allocations: 0.8193 MB / 0.8889 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-05/0.7245, allocations: 41.7 kB / 0.8889 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.7248, allocations: 444.4 kB / 0.8893 GB, free: 3.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.7251, allocations: 264.2 kB / 0.8896 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.7254, allocations: 150.5 kB / 0.8897 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7255, allocations: 341.9 kB / 0.89 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.727, allocations: 0.5434 MB / 0.8906 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.7286, allocations: 0.6598 MB / 0.8912 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.7315, allocations: 1.151 MB / 0.8923 GB, free: 92 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7315, allocations: 0 / 0.8923 GB, free: 92 kB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00348/0.735, allocations: 1.368 MB / 0.8937 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/0.735, allocations: 33.7 kB / 0.8937 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.735, allocations: 0 / 0.8937 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.7351, allocations: 4 kB / 0.8937 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.7366, allocations: 271.6 kB / 0.894 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006638/0.7373, allocations: 1.188 MB / 0.8951 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.7385, allocations: 177.4 kB / 0.8953 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.243e-05/0.7386, allocations: 39.97 kB / 0.8953 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001797/0.7404, allocations: 0.7595 MB / 0.8961 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001566/0.742, allocations: 0.6598 MB / 0.8967 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002842/0.7449, allocations: 1.139 MB / 0.8978 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.7449, allocations: 4 kB / 0.8978 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003386/0.7483, allocations: 1.353 MB / 0.8992 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.7483, allocations: 41.64 kB / 0.8992 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7483, allocations: 4.062 kB / 0.8992 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.271e-06/0.7484, allocations: 4.094 kB / 0.8992 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.7495, allocations: 235.6 kB / 0.8994 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.7496, allocations: 7.984 kB / 0.8994 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.7507, allocations: 175.5 kB / 0.8996 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/0.7508, allocations: 35.97 kB / 0.8996 GB, free: 8.465 MB / 0.6355 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.0002622/0.7511, allocations: 216.1 kB / 0.8998 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.7513, allocations: 106.7 kB / 0.9 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00373/0.755, allocations: 1.375 MB / 0.9013 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.7551, allocations: 4 kB / 0.9013 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.7551, allocations: 4 kB / 0.9013 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.7551, allocations: 3.984 kB / 0.9013 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006214/0.7613, allocations: 2.859 MB / 0.9041 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.413e-06/0.7613, allocations: 4 kB / 0.9041 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.7625, allocations: 235.8 kB / 0.9043 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.7626, allocations: 8 kB / 0.9043 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/0.7626, allocations: 27.98 kB / 0.9044 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000553/0.7632, allocations: 1.191 MB / 0.9055 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.7632, allocations: 4 kB / 0.9055 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005453/0.7687, allocations: 2.916 MB / 0.9084 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000545/0.7692, allocations: 307.5 kB / 0.9087 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.7694, allocations: 24 kB / 0.9087 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.7705, allocations: 143.8 kB / 0.9088 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.7707, allocations: 60.38 kB / 0.9089 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.031e-05/0.7708, allocations: 43.91 kB / 0.9089 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006938/0.7715, allocations: 0.5699 MB / 0.9095 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7715, allocations: 0 / 0.9095 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001463/0.7729, allocations: 0.5419 MB / 0.91 GB, free: 13.53 MB / 0.6511 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.0005404/0.7735, allocations: 270.1 kB / 0.9103 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005218/0.7787, allocations: 2.037 MB / 0.9123 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.7787, allocations: 0 / 0.9123 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/0.7805, allocations: 0.6715 MB / 0.9129 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/0.783, allocations: 0.4964 MB / 0.9134 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.7877, allocations: 2.932 MB / 0.9163 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.7884, allocations: 1.118 MB / 0.9174 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001548/0.79, allocations: 387.5 kB / 0.9177 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.7903, allocations: 83.41 kB / 0.9178 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of SimCode: time 5.61e-07/0.7903, allocations: 0 / 0.9178 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of Templates: time 0.0315/0.8218, allocations: 20.63 MB / 0.938 GB, free: 1.02 MB / 0.6667 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)