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.001236/0.001236, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 194 kB / 16.53 MB, free: 6.391 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.732/0.732, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 64.5 kB / 0.5018 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4475, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2323/0.6798, allocations: 214.2 MB / 0.7892 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.6909, allocations: 7.032 MB / 0.7961 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.6928, allocations: 43.75 kB / 0.7962 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002318/0.6952, allocations: 0.7921 MB / 0.7969 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006267/0.7014, allocations: 2.503 MB / 0.7994 GB, free: 180 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.7044, allocations: 1.162 MB / 0.8005 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003788/0.7082, allocations: 2.809 MB / 0.8033 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.71, allocations: 1.087 MB / 0.8043 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004271/0.7143, allocations: 1.985 MB / 0.8063 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.7166, allocations: 0.9325 MB / 0.8072 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004284/0.7171, allocations: 116 kB / 0.8073 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00469/0.7218, allocations: 2.448 MB / 0.8097 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006735/0.7225, allocations: 430.7 kB / 0.8101 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.7239, allocations: 0.6843 MB / 0.8107 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006389/0.7303, allocations: 2.478 MB / 0.8132 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.7303, allocations: 0 / 0.8132 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7303, allocations: 0 / 0.8132 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.193e-05/0.7304, allocations: 0 / 0.8132 GB, free: 2.02 MB / 0.6387 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.006447/0.7369, allocations: 1.84 MB / 0.815 GB, free: 124 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7369, allocations: 12.03 kB / 0.815 GB, free: 112 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3174/1.054, allocations: 0.5373 MB / 0.8155 GB, free: 222.8 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/1.056, allocations: 0.9568 MB / 0.8164 GB, free: 222.4 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006343/1.057, allocations: 177.3 kB / 0.8166 GB, free: 222.3 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/1.057, allocations: 89.64 kB / 0.8167 GB, free: 222.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/1.06, allocations: 1.237 MB / 0.8179 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/1.06, allocations: 0.75 kB / 0.8179 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/1.06, allocations: 31.19 kB / 0.8179 GB, free: 221.9 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.204e-05/1.06, allocations: 49.92 kB / 0.818 GB, free: 221.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/1.064, allocations: 1.539 MB / 0.8195 GB, free: 221.4 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.006331/1.07, allocations: 4.087 MB / 0.8235 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/1.073, allocations: 0.9908 MB / 0.8244 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/1.075, allocations: 0.6647 MB / 0.8251 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009784/1.076, allocations: 0.6079 MB / 0.8257 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/1.076, allocations: 43.41 kB / 0.8257 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.847e-06/1.076, allocations: 5.219 kB / 0.8257 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004913/1.08, allocations: 1.809 MB / 0.8275 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/1.081, allocations: 59.5 kB / 0.8275 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.082, allocations: 0.829 MB / 0.8284 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/1.082, allocations: 43.89 kB / 0.8284 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/1.082, allocations: 434.9 kB / 0.8288 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/1.082, allocations: 267 kB / 0.8291 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/1.082, allocations: 157 kB / 0.8292 GB, free: 216 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.795e-05/1.082, allocations: 337.1 kB / 0.8295 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/1.084, allocations: 0.5428 MB / 0.8301 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/1.085, allocations: 0.6584 MB / 0.8307 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/1.088, allocations: 1.152 MB / 0.8318 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.088, allocations: 4.469 kB / 0.8318 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003392/1.091, allocations: 1.36 MB / 0.8332 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/1.091, allocations: 36.14 kB / 0.8332 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.091, allocations: 1.25 kB / 0.8332 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/1.091, allocations: 4.25 kB / 0.8332 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/1.093, allocations: 262.8 kB / 0.8335 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004829/1.093, allocations: 1.197 MB / 0.8346 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.095, allocations: 150 kB / 0.8348 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.214e-05/1.095, allocations: 31.64 kB / 0.8348 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001715/1.096, allocations: 0.7711 MB / 0.8356 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001406/1.098, allocations: 0.6649 MB / 0.8362 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002698/1.101, allocations: 1.14 MB / 0.8373 GB, free: 211 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/1.101, allocations: 0 / 0.8373 GB, free: 211 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003405/1.104, allocations: 1.356 MB / 0.8386 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/1.104, allocations: 37.14 kB / 0.8387 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.104, allocations: 1.25 kB / 0.8387 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/1.104, allocations: 4.469 kB / 0.8387 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.105, allocations: 232.9 kB / 0.8389 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.105, allocations: 7.281 kB / 0.8389 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/1.106, allocations: 144 kB / 0.839 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/1.106, allocations: 30.52 kB / 0.8391 GB, free: 210.1 MB / 0.6387 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.0002876/1.107, allocations: 233.5 kB / 0.8393 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/1.107, allocations: 105.8 kB / 0.8394 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/1.11, allocations: 1.359 MB / 0.8407 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/1.11, allocations: 7.969 kB / 0.8407 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.11, allocations: 0 / 0.8407 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.11, allocations: 5.453 kB / 0.8407 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004909/1.115, allocations: 2.862 MB / 0.8435 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.115, allocations: 3.906 kB / 0.8435 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/1.116, allocations: 234.6 kB / 0.8438 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/1.116, allocations: 7.938 kB / 0.8438 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/1.116, allocations: 31.83 kB / 0.8438 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003083/1.117, allocations: 1.187 MB / 0.845 GB, free: 206 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.117, allocations: 4.125 kB / 0.845 GB, free: 206 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/1.12, allocations: 1.469 MB / 0.8464 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/1.12, allocations: 310.4 kB / 0.8467 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/1.12, allocations: 19.81 kB / 0.8467 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.121, allocations: 106.8 kB / 0.8468 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.122, allocations: 68 kB / 0.8469 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/1.122, allocations: 35.72 kB / 0.8469 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007061/1.122, allocations: 0.5662 MB / 0.8475 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/1.122, allocations: 0 / 0.8475 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001371/1.124, allocations: 0.5289 MB / 0.848 GB, free: 204.3 MB / 0.6387 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.0006229/1.124, allocations: 276.3 kB / 0.8482 GB, free: 204.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004992/1.129, allocations: 2.149 MB / 0.8503 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/1.129, allocations: 0 / 0.8503 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/1.131, allocations: 0.6714 MB / 0.851 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/1.133, allocations: 499.1 kB / 0.8515 GB, free: 201 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/1.137, allocations: 2.12 MB / 0.8535 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/1.137, allocations: 1.091 MB / 0.8546 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001486/1.139, allocations: 392.6 kB / 0.855 GB, free: 197.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/1.139, allocations: 91.39 kB / 0.8551 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of SimCode: time 8.02e-07/1.139, allocations: 0 / 0.8551 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.02798/1.167, allocations: 20.85 MB / 0.8754 GB, free: 176.7 MB / 0.6387 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)