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/Complex 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) 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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.005774/0.005774, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7151/0.7151, allocations: 132.3 MB / 148.1 MB, free: 248 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.2 MB / 403.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 96.28 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003608, allocations: 11.98 kB / 0.5641 GB, free: 2.121 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4918, allocations: 81.58 MB / 0.6437 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.951/5.443, allocations: 1.858 GB / 2.502 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/5.443, allocations: 87.95 kB / 2.502 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.657/9.1, allocations: 1.01 GB / 3.512 GB, free: 98.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.936e-06/9.1, allocations: 0 / 3.512 GB, free: 98.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001756/9.101, allocations: 34.89 kB / 3.512 GB, free: 98.7 MB / 0.698 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.008448/9.109, allocations: 1.971 MB / 3.514 GB, free: 97.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/9.109, allocations: 9.969 kB / 3.514 GB, free: 97.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/9.113, allocations: 0.5432 MB / 3.515 GB, free: 97.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003637/9.116, allocations: 1.075 MB / 3.516 GB, free: 97.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006522/9.117, allocations: 202.6 kB / 3.516 GB, free: 97.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/9.117, allocations: 80.31 kB / 3.516 GB, free: 97.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003413/9.121, allocations: 1.342 MB / 3.518 GB, free: 97.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/9.121, allocations: 3 kB / 3.518 GB, free: 97.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/9.121, allocations: 33.72 kB / 3.518 GB, free: 97.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.939e-05/9.121, allocations: 39.69 kB / 3.518 GB, free: 97.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003687/9.125, allocations: 1.504 MB / 3.519 GB, free: 97.42 MB / 0.698 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.008031/9.133, allocations: 4.206 MB / 3.523 GB, free: 95.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/9.135, allocations: 1.068 MB / 3.524 GB, free: 95.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009688/9.136, allocations: 0.606 MB / 3.525 GB, free: 95.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/9.137, allocations: 46.56 kB / 3.525 GB, free: 95.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.837e-06/9.137, allocations: 0 / 3.525 GB, free: 95.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.005476/9.142, allocations: 1.987 MB / 3.527 GB, free: 95.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/9.142, allocations: 61.66 kB / 3.527 GB, free: 95.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/9.143, allocations: 0.707 MB / 3.528 GB, free: 94.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/9.144, allocations: 39.8 kB / 3.528 GB, free: 94.92 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/9.144, allocations: 455.6 kB / 3.528 GB, free: 94.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/9.144, allocations: 259.1 kB / 3.528 GB, free: 94.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-05/9.145, allocations: 17.25 kB / 3.528 GB, free: 94.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001129/9.145, allocations: 332.3 kB / 3.529 GB, free: 94.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/9.146, allocations: 0.5893 MB / 3.529 GB, free: 94.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/9.148, allocations: 0.7416 MB / 3.53 GB, free: 94.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/9.15, allocations: 0.6434 MB / 3.531 GB, free: 94.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/9.15, allocations: 0 / 3.531 GB, free: 94.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003957/9.153, allocations: 1.482 MB / 3.532 GB, free: 94.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/9.154, allocations: 487.7 kB / 3.532 GB, free: 93.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/9.154, allocations: 0 / 3.532 GB, free: 93.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/9.154, allocations: 3.938 kB / 3.532 GB, free: 93.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/9.155, allocations: 280.2 kB / 3.533 GB, free: 93.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006055/9.156, allocations: 1.191 MB / 3.534 GB, free: 92.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/9.158, allocations: 210 kB / 3.534 GB, free: 92.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/9.158, allocations: 39.52 kB / 3.534 GB, free: 92.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/9.158, allocations: 3.906 kB / 3.534 GB, free: 92.32 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003586/9.162, allocations: 1.371 MB / 3.535 GB, free: 92.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/9.162, allocations: 0 / 3.535 GB, free: 92.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/9.162, allocations: 10.83 kB / 3.535 GB, free: 92.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/9.163, allocations: 262 kB / 3.536 GB, free: 92.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/9.163, allocations: 6.5 kB / 3.536 GB, free: 92.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/9.165, allocations: 197.1 kB / 3.536 GB, free: 92.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/9.165, allocations: 42.67 kB / 3.536 GB, free: 92.24 MB / 0.698 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.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.0009013/9.166, allocations: 375 kB / 3.536 GB, free: 92.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004029/9.166, allocations: 100.4 kB / 3.536 GB, free: 92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/9.17, allocations: 1.5 MB / 3.538 GB, free: 91.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/9.17, allocations: 11.33 kB / 3.538 GB, free: 91.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/9.17, allocations: 3 kB / 3.538 GB, free: 91.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/9.17, allocations: 3.797 kB / 3.538 GB, free: 91.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007044/9.177, allocations: 2.986 MB / 3.541 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/9.177, allocations: 3.469 kB / 3.541 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/9.179, allocations: 266.9 kB / 3.541 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.302e-05/9.179, allocations: 7 kB / 3.541 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.545e-05/9.179, allocations: 23.88 kB / 3.541 GB, free: 91.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005196/9.179, allocations: 1.196 MB / 3.542 GB, free: 90.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.946e-06/9.179, allocations: 8.75 kB / 3.542 GB, free: 90.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003641/9.183, allocations: 1.765 MB / 3.544 GB, free: 89.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008859/9.184, allocations: 312.4 kB / 3.544 GB, free: 89.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/9.184, allocations: 23.14 kB / 3.544 GB, free: 89.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/9.186, allocations: 165 kB / 3.544 GB, free: 89.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/9.186, allocations: 67.34 kB / 3.545 GB, free: 89.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/9.186, allocations: 41.97 kB / 3.545 GB, free: 89.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001039/9.187, allocations: 0.5571 MB / 3.545 GB, free: 89.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.71e-07/9.187, allocations: 0 / 3.545 GB, free: 89.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003074/9.19, allocations: 0.7658 MB / 3.546 GB, free: 89.38 MB / 0.698 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 (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.004002/9.194, allocations: 2.367 MB / 3.548 GB, free: 88.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005801/9.2, allocations: 2.209 MB / 3.55 GB, free: 88.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/9.2, allocations: 0 / 3.55 GB, free: 88.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/9.202, allocations: 0.7292 MB / 3.551 GB, free: 88.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/9.205, allocations: 0.5117 MB / 3.552 GB, free: 88.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/9.221, allocations: 3.289 MB / 3.555 GB, free: 87.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/9.222, allocations: 1.117 MB / 3.556 GB, free: 86.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002536/9.225, allocations: 413.8 kB / 3.556 GB, free: 86.56 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004961/9.225, allocations: 96.61 kB / 3.556 GB, free: 86.55 MB / 0.698 GB Notification: Performance of SimCode: time 1.944e-06/9.225, allocations: 0 / 3.556 GB, free: 86.55 MB / 0.698 GB Notification: Performance of Templates: time 0.06556/9.291, allocations: 45.97 MB / 3.601 GB, free: 65.79 MB / 0.698 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)