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.008283/0.008283, allocations: 171.8 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9216/0.9216, allocations: 135.2 MB / 151.1 MB, free: 13.77 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.562/1.562, allocations: 223.2 MB / 406.9 MB, free: 3.215 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.0009341/0.0009338, allocations: 100.5 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003558, allocations: 11.94 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4623, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.934/5.396, allocations: 1.859 GB / 2.508 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/5.396, allocations: 88.7 kB / 2.508 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.756/9.152, allocations: 1.01 GB / 3.518 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.843e-06/9.152, allocations: 0 / 3.518 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.366e-05/9.152, allocations: 32.88 kB / 3.518 GB, free: 105.2 MB / 0.7136 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.005909/9.158, allocations: 1.961 MB / 3.52 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/9.158, allocations: 8.188 kB / 3.52 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/9.161, allocations: 0.5471 MB / 3.521 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/9.164, allocations: 1.088 MB / 3.522 GB, free: 104 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005825/9.165, allocations: 196.9 kB / 3.522 GB, free: 104 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/9.165, allocations: 83.59 kB / 3.522 GB, free: 104 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002643/9.167, allocations: 1.345 MB / 3.523 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/9.168, allocations: 0 / 3.523 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/9.168, allocations: 32.8 kB / 3.523 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.495e-05/9.168, allocations: 43.45 kB / 3.524 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003236/9.171, allocations: 1.506 MB / 3.525 GB, free: 103.9 MB / 0.7136 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.006395/9.177, allocations: 4.185 MB / 3.529 GB, free: 102.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/9.18, allocations: 1.082 MB / 3.53 GB, free: 102.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008479/9.181, allocations: 0.6144 MB / 3.531 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/9.181, allocations: 37.97 kB / 3.531 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 2.956e-06/9.181, allocations: 0 / 3.531 GB, free: 101.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.004617/9.185, allocations: 1.99 MB / 3.533 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/9.185, allocations: 62.44 kB / 3.533 GB, free: 101.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008401/9.186, allocations: 0.7073 MB / 3.533 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.312e-05/9.186, allocations: 44.86 kB / 3.534 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/9.186, allocations: 451.4 kB / 3.534 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/9.187, allocations: 260.5 kB / 3.534 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/9.187, allocations: 14.69 kB / 3.534 GB, free: 101.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.136e-05/9.187, allocations: 335 kB / 3.535 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/9.188, allocations: 0.5863 MB / 3.535 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/9.19, allocations: 0.7433 MB / 3.536 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/9.191, allocations: 0.6348 MB / 3.536 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/9.191, allocations: 2.516 kB / 3.536 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003133/9.194, allocations: 1.486 MB / 3.538 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/9.195, allocations: 484 kB / 3.538 GB, free: 100 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/9.195, allocations: 0 / 3.538 GB, free: 100 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/9.195, allocations: 3.906 kB / 3.538 GB, free: 100 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/9.196, allocations: 278.1 kB / 3.539 GB, free: 100 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004899/9.197, allocations: 1.192 MB / 3.54 GB, free: 98.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/9.198, allocations: 207.3 kB / 3.54 GB, free: 98.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/9.198, allocations: 40.06 kB / 3.54 GB, free: 98.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/9.198, allocations: 3.875 kB / 3.54 GB, free: 98.84 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002967/9.201, allocations: 1.376 MB / 3.541 GB, free: 98.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/9.201, allocations: 3.219 kB / 3.541 GB, free: 98.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/9.201, allocations: 3.906 kB / 3.541 GB, free: 98.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/9.202, allocations: 260 kB / 3.542 GB, free: 98.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/9.202, allocations: 3.406 kB / 3.542 GB, free: 98.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/9.204, allocations: 202.3 kB / 3.542 GB, free: 98.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/9.204, allocations: 37.73 kB / 3.542 GB, free: 98.75 MB / 0.7136 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.0007161/9.205, allocations: 374.8 kB / 3.542 GB, free: 98.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/9.205, allocations: 106.5 kB / 3.542 GB, free: 98.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003292/9.208, allocations: 1.495 MB / 3.544 GB, free: 98.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/9.208, allocations: 7.875 kB / 3.544 GB, free: 98.44 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/9.208, allocations: 0 / 3.544 GB, free: 98.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/9.208, allocations: 6.516 kB / 3.544 GB, free: 98.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00539/9.214, allocations: 2.989 MB / 3.547 GB, free: 97.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/9.214, allocations: 11.61 kB / 3.547 GB, free: 97.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/9.215, allocations: 261.6 kB / 3.547 GB, free: 97.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/9.215, allocations: 6.312 kB / 3.547 GB, free: 97.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-05/9.215, allocations: 34.52 kB / 3.547 GB, free: 97.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003908/9.215, allocations: 1.194 MB / 3.548 GB, free: 96.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/9.215, allocations: 6.781 kB / 3.548 GB, free: 96.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003176/9.219, allocations: 1.767 MB / 3.55 GB, free: 96.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000708/9.219, allocations: 317.7 kB / 3.55 GB, free: 96.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/9.219, allocations: 17.03 kB / 3.55 GB, free: 96.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/9.221, allocations: 170.1 kB / 3.55 GB, free: 96.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/9.221, allocations: 66.56 kB / 3.55 GB, free: 96.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-05/9.221, allocations: 39.92 kB / 3.551 GB, free: 96.06 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007427/9.222, allocations: 0.5616 MB / 3.551 GB, free: 95.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/9.222, allocations: 0 / 3.551 GB, free: 95.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002571/9.224, allocations: 0.7517 MB / 3.552 GB, free: 95.9 MB / 0.7136 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.003614/9.228, allocations: 2.365 MB / 3.554 GB, free: 95.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005116/9.233, allocations: 2.221 MB / 3.556 GB, free: 94.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/9.233, allocations: 0 / 3.556 GB, free: 94.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/9.235, allocations: 0.7229 MB / 3.557 GB, free: 94.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/9.237, allocations: 0.5073 MB / 3.557 GB, free: 94.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/9.252, allocations: 3.299 MB / 3.561 GB, free: 93.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/9.252, allocations: 1.118 MB / 3.562 GB, free: 93.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001986/9.254, allocations: 415.8 kB / 3.562 GB, free: 93.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/9.255, allocations: 89.47 kB / 3.562 GB, free: 93.07 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/9.255, allocations: 1.281 kB / 3.562 GB, free: 93.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.06517/9.32, allocations: 46 MB / 3.607 GB, free: 73.93 MB / 0.7136 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)