Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001543, allocations: 179.9 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009225/0.0009225, allocations: 101.2 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6511/0.6511, allocations: 48.77 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 8 kB / 438.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1706, allocations: 60.25 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.021/9.191, allocations: 2.887 GB / 3.374 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003696/9.192, allocations: 80.28 kB / 3.374 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.108/10.3, allocations: 281.7 MB / 3.649 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/10.3, allocations: 0 / 3.649 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.002e-05/10.3, allocations: 15.94 kB / 3.649 GB, free: 60.96 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.005548/10.31, allocations: 1.163 MB / 3.65 GB, free: 59.76 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/10.31, allocations: 16.03 kB / 3.65 GB, free: 59.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/10.31, allocations: 72.19 kB / 3.65 GB, free: 59.67 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/10.31, allocations: 391.8 kB / 3.651 GB, free: 59.26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/10.31, allocations: 29.34 kB / 3.651 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/10.31, allocations: 28 kB / 3.651 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009037/10.31, allocations: 0.5169 MB / 3.651 GB, free: 58.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/10.31, allocations: 0 / 3.651 GB, free: 58.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/10.31, allocations: 20 kB / 3.651 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/10.31, allocations: 8 kB / 3.651 GB, free: 58.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/10.31, allocations: 379.6 kB / 3.652 GB, free: 58.21 MB / 0.5105 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.001873/10.31, allocations: 2.005 MB / 3.654 GB, free: 56.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/10.31, allocations: 341.1 kB / 3.654 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05265/10.36, allocations: 31.98 MB / 3.685 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.526e-05/10.36, allocations: 38.52 kB / 3.685 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 3.506e-06/10.36, allocations: 0 / 3.685 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.001786/10.37, allocations: 449.1 kB / 3.686 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/10.37, allocations: 81.11 kB / 3.686 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004888/10.37, allocations: 381.2 kB / 3.686 GB, free: 18.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/10.37, allocations: 29.7 kB / 3.686 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/10.37, allocations: 232 kB / 3.686 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/10.37, allocations: 54.33 kB / 3.686 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/10.37, allocations: 8 kB / 3.686 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001137/10.37, allocations: 350.8 kB / 3.687 GB, free: 18.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/10.37, allocations: 99.94 kB / 3.687 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/10.37, allocations: 165.8 kB / 3.687 GB, free: 17.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/10.37, allocations: 104 kB / 3.687 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/10.37, allocations: 4 kB / 3.687 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008289/10.37, allocations: 340.9 kB / 3.687 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000253/10.37, allocations: 0.7866 MB / 3.688 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/10.37, allocations: 4 kB / 3.688 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/10.37, allocations: 7.938 kB / 3.688 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/10.37, allocations: 79.88 kB / 3.688 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/10.37, allocations: 8.062 kB / 3.688 GB, free: 16.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/10.37, allocations: 59.56 kB / 3.688 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/10.37, allocations: 15.98 kB / 3.688 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.735e-06/10.37, allocations: 7.938 kB / 3.688 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007067/10.37, allocations: 259.6 kB / 3.689 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-06/10.37, allocations: 224 / 3.689 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/10.37, allocations: 8 kB / 3.689 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/10.37, allocations: 67.89 kB / 3.689 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/10.37, allocations: 7.984 kB / 3.689 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/10.37, allocations: 59.66 kB / 3.689 GB, free: 16.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/10.37, allocations: 12 kB / 3.689 GB, free: 16.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002215/10.37, allocations: 221 kB / 3.689 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/10.37, allocations: 55.38 kB / 3.689 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009479/10.37, allocations: 468.4 kB / 3.69 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/10.37, allocations: 4 kB / 3.69 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/10.37, allocations: 4 kB / 3.69 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/10.37, allocations: 4.359 kB / 3.69 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/10.37, allocations: 456.3 kB / 3.69 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/10.37, allocations: 0 / 3.69 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/10.37, allocations: 55.95 kB / 3.69 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/10.37, allocations: 3.938 kB / 3.69 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/10.37, allocations: 7.953 kB / 3.69 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/10.37, allocations: 11.94 kB / 3.69 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/10.37, allocations: 0 / 3.69 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/10.37, allocations: 471.7 kB / 3.69 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/10.37, allocations: 172.3 kB / 3.691 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/10.37, allocations: 0 / 3.691 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/10.38, allocations: 43.83 kB / 3.691 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/10.38, allocations: 7.984 kB / 3.691 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/10.38, allocations: 15.98 kB / 3.691 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004105/10.38, allocations: 406.8 kB / 3.691 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/10.38, allocations: 0 / 3.691 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006505/10.38, allocations: 0.9717 MB / 3.692 GB, free: 12.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01037/10.39, allocations: 1.277 MB / 3.693 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001586/10.39, allocations: 372.8 kB / 3.694 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/10.39, allocations: 4.125 kB / 3.694 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004136/10.39, allocations: 123.8 kB / 3.694 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/10.4, allocations: 232.7 kB / 3.694 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/10.4, allocations: 0.9204 MB / 3.695 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/10.4, allocations: 0.8505 MB / 3.696 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005895/10.4, allocations: 147.1 kB / 3.696 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/10.4, allocations: 39.42 kB / 3.696 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of SimCode: time 1.432e-06/10.4, allocations: 4 kB / 3.696 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of Templates: time 0.4349/10.83, allocations: 29.46 MB / 3.725 GB, free: 75.21 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1)