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.00136/0.00136, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7854/0.7854, allocations: 133.4 MB / 146.7 MB, free: 10.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.685/1.685, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.001065/0.001065, allocations: 93.05 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.937e-05/4.939e-05, allocations: 3.062 kB / 0.56 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2346, allocations: 82.31 MB / 0.6404 GB, free: 7.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.838/6.073, allocations: 1.859 GB / 2.499 GB, free: 36.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/6.073, allocations: 83.06 kB / 2.499 GB, free: 36.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.082/10.16, allocations: 1.009 GB / 3.508 GB, free: 75.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/10.16, allocations: 0 / 3.508 GB, free: 75.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.335e-05/10.16, allocations: 31.98 kB / 3.509 GB, free: 75.41 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.005628/10.16, allocations: 1.797 MB / 3.51 GB, free: 73.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/10.16, allocations: 8.031 kB / 3.51 GB, free: 73.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/10.16, allocations: 0.5481 MB / 3.511 GB, free: 73.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/10.17, allocations: 1.069 MB / 3.512 GB, free: 71.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005787/10.17, allocations: 197.7 kB / 3.512 GB, free: 71.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/10.17, allocations: 84 kB / 3.512 GB, free: 71.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/10.17, allocations: 1.138 MB / 3.513 GB, free: 70.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/10.17, allocations: 3.938 kB / 3.513 GB, free: 70.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/10.17, allocations: 35.98 kB / 3.513 GB, free: 70.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/10.17, allocations: 45.08 kB / 3.513 GB, free: 70.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/10.17, allocations: 1.113 MB / 3.514 GB, free: 69.31 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.006489/10.18, allocations: 4.196 MB / 3.518 GB, free: 64.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/10.18, allocations: 0.7524 MB / 3.519 GB, free: 64.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006822/10.18, allocations: 0.5096 MB / 3.52 GB, free: 63.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009097/10.18, allocations: 0.6064 MB / 3.52 GB, free: 62.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/10.18, allocations: 50.2 kB / 3.52 GB, free: 62.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.946e-06/10.18, allocations: 0 / 3.52 GB, free: 62.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001861/10.18, allocations: 1.018 MB / 3.521 GB, free: 61.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/10.18, allocations: 59.22 kB / 3.521 GB, free: 61.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/10.18, allocations: 0.7015 MB / 3.522 GB, free: 61.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/10.18, allocations: 45.7 kB / 3.522 GB, free: 60.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/10.18, allocations: 448.5 kB / 3.523 GB, free: 60.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/10.18, allocations: 252.2 kB / 3.523 GB, free: 60.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/10.18, allocations: 16 kB / 3.523 GB, free: 60.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/10.18, allocations: 337.4 kB / 3.523 GB, free: 59.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/10.18, allocations: 413.4 kB / 3.524 GB, free: 59.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/10.18, allocations: 0.5431 MB / 3.524 GB, free: 58.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005813/10.19, allocations: 462.4 kB / 3.525 GB, free: 58.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/10.19, allocations: 3.562 kB / 3.525 GB, free: 58.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001528/10.19, allocations: 1.098 MB / 3.526 GB, free: 57.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/10.19, allocations: 485.9 kB / 3.526 GB, free: 56.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/10.19, allocations: 0 / 3.526 GB, free: 56.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/10.19, allocations: 4 kB / 3.526 GB, free: 56.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/10.19, allocations: 274 kB / 3.526 GB, free: 56.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005272/10.19, allocations: 1.195 MB / 3.527 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/10.19, allocations: 201.6 kB / 3.528 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/10.19, allocations: 39.97 kB / 3.528 GB, free: 55.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/10.19, allocations: 4 kB / 3.528 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001404/10.19, allocations: 0.9998 MB / 3.529 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/10.19, allocations: 4 kB / 3.529 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/10.19, allocations: 4 kB / 3.529 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/10.19, allocations: 255.8 kB / 3.529 GB, free: 53.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/10.19, allocations: 4 kB / 3.529 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/10.19, allocations: 203.1 kB / 3.529 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.701e-05/10.19, allocations: 39.97 kB / 3.529 GB, free: 53.62 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 () * 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.0002442/10.2, allocations: 156.8 kB / 3.529 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/10.2, allocations: 98.78 kB / 3.529 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/10.2, allocations: 1.116 MB / 3.531 GB, free: 52.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/10.2, allocations: 8 kB / 3.531 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/10.2, allocations: 7.984 kB / 3.531 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/10.2, allocations: 0 / 3.531 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/10.2, allocations: 2.611 MB / 3.533 GB, free: 49.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/10.2, allocations: 4.469 kB / 3.533 GB, free: 49.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/10.2, allocations: 259.6 kB / 3.533 GB, free: 49.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/10.2, allocations: 12 kB / 3.533 GB, free: 49.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/10.2, allocations: 31.97 kB / 3.533 GB, free: 49.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003606/10.2, allocations: 1.184 MB / 3.535 GB, free: 47.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/10.2, allocations: 4.188 kB / 3.535 GB, free: 47.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/10.2, allocations: 1.392 MB / 3.536 GB, free: 46.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005157/10.2, allocations: 327.4 kB / 3.536 GB, free: 46.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/10.2, allocations: 20 kB / 3.536 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/10.21, allocations: 167.7 kB / 3.536 GB, free: 45.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/10.21, allocations: 56.45 kB / 3.536 GB, free: 45.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/10.21, allocations: 43.95 kB / 3.536 GB, free: 45.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006048/10.21, allocations: 0.5507 MB / 3.537 GB, free: 45.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/10.21, allocations: 0 / 3.537 GB, free: 45.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002385/10.21, allocations: 0.7646 MB / 3.538 GB, free: 44.48 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 () * 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.003103/10.21, allocations: 2.358 MB / 3.54 GB, free: 42.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002605/10.21, allocations: 1.686 MB / 3.542 GB, free: 40.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/10.21, allocations: 0 / 3.542 GB, free: 40.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008024/10.22, allocations: 0.5313 MB / 3.542 GB, free: 39.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/10.22, allocations: 0.5074 MB / 3.543 GB, free: 39.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/10.23, allocations: 2.365 MB / 3.545 GB, free: 36.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/10.23, allocations: 1.12 MB / 3.546 GB, free: 35.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002188/10.23, allocations: 486.5 kB / 3.547 GB, free: 35.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/10.23, allocations: 83.38 kB / 3.547 GB, free: 35.15 MB / 0.698 GB Notification: Performance of SimCode: time 7.72e-07/10.23, allocations: 3.938 kB / 3.547 GB, free: 35.15 MB / 0.698 GB Notification: Performance of Templates: time 0.5373/10.77, allocations: 53.35 MB / 3.599 GB, free: 113.5 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)