Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.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.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002152/0.002152, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.901/1.901, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001108/0.001108, allocations: 86.7 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3945/0.3945, allocations: 48.77 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.886e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1669, allocations: 60.25 MB / 492.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.143/9.31, allocations: 2.906 GB / 3.387 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/9.31, allocations: 75.78 kB / 3.387 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9632/10.27, allocations: 297.2 MB / 3.678 GB, free: 19.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.993e-06/10.27, allocations: 0 / 3.678 GB, free: 19.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.818e-05/10.27, allocations: 12 kB / 3.678 GB, free: 19.48 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.004793/10.28, allocations: 1.071 MB / 3.679 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/10.28, allocations: 8.031 kB / 3.679 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/10.28, allocations: 91.39 kB / 3.679 GB, free: 18.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/10.28, allocations: 350.8 kB / 3.679 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/10.28, allocations: 24.78 kB / 3.679 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/10.28, allocations: 36.69 kB / 3.679 GB, free: 17.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007253/10.28, allocations: 465.1 kB / 3.68 GB, free: 17.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/10.28, allocations: 3.953 kB / 3.68 GB, free: 17.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/10.28, allocations: 16 kB / 3.68 GB, free: 17.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/10.28, allocations: 8 kB / 3.68 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/10.28, allocations: 290.9 kB / 3.68 GB, free: 17 MB / 0.5105 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.001784/10.28, allocations: 2.151 MB / 3.682 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/10.28, allocations: 263.5 kB / 3.682 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/10.28, allocations: 88.86 kB / 3.682 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3665/10.65, allocations: 31.98 MB / 3.714 GB, free: 61.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/10.65, allocations: 35.81 kB / 3.714 GB, free: 61.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 2.425e-06/10.65, allocations: 0 / 3.714 GB, free: 61.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.004863/10.65, allocations: 1.391 MB / 3.715 GB, free: 61.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/10.65, allocations: 56.16 kB / 3.715 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/10.66, allocations: 275.7 kB / 3.715 GB, free: 61.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/10.66, allocations: 30.02 kB / 3.715 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/10.66, allocations: 210.5 kB / 3.716 GB, free: 61.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/10.66, allocations: 118.7 kB / 3.716 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/10.66, allocations: 6.094 kB / 3.716 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001018/10.66, allocations: 352.6 kB / 3.716 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/10.66, allocations: 101.4 kB / 3.716 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/10.66, allocations: 154.6 kB / 3.716 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/10.66, allocations: 125.6 kB / 3.716 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/10.66, allocations: 0.9375 kB / 3.716 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001003/10.66, allocations: 418.5 kB / 3.717 GB, free: 60.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/10.66, allocations: 0.5275 MB / 3.717 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/10.66, allocations: 2.531 kB / 3.717 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/10.66, allocations: 93.31 kB / 3.717 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/10.66, allocations: 83.58 kB / 3.717 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007137/10.66, allocations: 1.112 MB / 3.718 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/10.66, allocations: 42.36 kB / 3.719 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/10.66, allocations: 14.53 kB / 3.719 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/10.66, allocations: 3.688 kB / 3.719 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007233/10.66, allocations: 347 kB / 3.719 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/10.66, allocations: 1.406 kB / 3.719 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004143/10.66, allocations: 93.28 kB / 3.719 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/10.66, allocations: 73.33 kB / 3.719 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006439/10.66, allocations: 1.115 MB / 3.72 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/10.66, allocations: 40.8 kB / 3.72 GB, free: 58.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/10.66, allocations: 14 kB / 3.72 GB, free: 58.15 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Valve.fluidState.phase,Tank2.liquidState.phase,Tank1.liquidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001205/10.66, allocations: 121.1 kB / 3.72 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.639e-05/10.66, allocations: 43.67 kB / 3.72 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/10.66, allocations: 1.151 MB / 3.721 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/10.66, allocations: 17.3 kB / 3.721 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/10.66, allocations: 1.031 kB / 3.721 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/10.66, allocations: 3.562 kB / 3.721 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009962/10.67, allocations: 0.6712 MB / 3.722 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/10.67, allocations: 2.078 kB / 3.722 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/10.67, allocations: 67.42 kB / 3.722 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006287/10.67, allocations: 147.9 kB / 3.722 GB, free: 57.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/10.67, allocations: 10.11 kB / 3.722 GB, free: 57.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008448/10.67, allocations: 1.186 MB / 3.724 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/10.67, allocations: 0.8438 kB / 3.724 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/10.67, allocations: 1.188 MB / 3.725 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/10.67, allocations: 154.5 kB / 3.725 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/10.67, allocations: 6.125 kB / 3.725 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/10.67, allocations: 28.88 kB / 3.725 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/10.67, allocations: 23.17 kB / 3.725 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/10.67, allocations: 11.89 kB / 3.725 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002626/10.67, allocations: 224 kB / 3.725 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/10.67, allocations: 0 / 3.725 GB, free: 56.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006053/10.68, allocations: 0.9601 MB / 3.726 GB, free: 56.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Tank1.y,Tank1.h,Tank2.y,Tank2.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008569/10.68, allocations: 1.331 MB / 3.727 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001822/10.69, allocations: 0.6576 MB / 3.728 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/10.69, allocations: 3.188 kB / 3.728 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000664/10.69, allocations: 370.3 kB / 3.728 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/10.69, allocations: 207.5 kB / 3.729 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/10.69, allocations: 0.9997 MB / 3.73 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/10.69, allocations: 0.8629 MB / 3.73 GB, free: 55.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004895/10.69, allocations: 222 kB / 3.731 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/10.69, allocations: 33.31 kB / 3.731 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/10.69, allocations: 5.844 kB / 3.731 GB, free: 55.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.03964/10.73, allocations: 33.78 MB / 3.764 GB, free: 53.94 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow2.pipe 2>&1)