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.001534/0.001534, allocations: 176.2 kB / 17.4 MB, free: 4.418 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.714/1.714, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0009673/0.0009679, allocations: 98.59 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5374/0.5374, allocations: 48.77 MB / 369 MB, free: 47.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003931, allocations: 12 kB / 439.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1553, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.512/7.668, allocations: 2.887 GB / 3.375 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004512/7.668, allocations: 80.39 kB / 3.376 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9316/8.6, allocations: 281.7 MB / 3.651 GB, free: 58.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.316e-06/8.6, allocations: 0 / 3.651 GB, free: 58.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.332e-05/8.6, allocations: 16 kB / 3.651 GB, free: 58.09 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.005995/8.606, allocations: 1.162 MB / 3.652 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/8.606, allocations: 8.031 kB / 3.652 GB, free: 56.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003737/8.606, allocations: 72.27 kB / 3.652 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007073/8.607, allocations: 414.1 kB / 3.652 GB, free: 56.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/8.607, allocations: 29.03 kB / 3.652 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/8.607, allocations: 28.38 kB / 3.652 GB, free: 56.31 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/8.608, allocations: 0.5092 MB / 3.653 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/8.608, allocations: 0 / 3.653 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/8.608, allocations: 16 kB / 3.653 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/8.608, allocations: 8 kB / 3.653 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/8.61, allocations: 383.5 kB / 3.653 GB, free: 55.33 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.002134/8.612, allocations: 2.014 MB / 3.655 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/8.613, allocations: 341 kB / 3.656 GB, free: 52.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/8.613, allocations: 121.6 kB / 3.656 GB, free: 52.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05487/8.668, allocations: 31.99 MB / 3.687 GB, free: 16.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/8.668, allocations: 38.56 kB / 3.687 GB, free: 16.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 2.294e-06/8.668, allocations: 0 / 3.687 GB, free: 16.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.001724/8.67, allocations: 455.5 kB / 3.687 GB, free: 16.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/8.67, allocations: 81.11 kB / 3.687 GB, free: 16.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/8.67, allocations: 430 kB / 3.688 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/8.67, allocations: 33.7 kB / 3.688 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/8.671, allocations: 224.1 kB / 3.688 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/8.671, allocations: 59.11 kB / 3.688 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/8.671, allocations: 8 kB / 3.688 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.894e-05/8.671, allocations: 358.7 kB / 3.688 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/8.671, allocations: 99.94 kB / 3.689 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/8.671, allocations: 161.8 kB / 3.689 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/8.672, allocations: 270.2 kB / 3.689 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/8.672, allocations: 4 kB / 3.689 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008608/8.673, allocations: 349.2 kB / 3.689 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.809e-05/8.673, allocations: 143.9 kB / 3.689 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/8.673, allocations: 0 / 3.689 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/8.673, allocations: 7.938 kB / 3.689 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/8.673, allocations: 79.88 kB / 3.69 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/8.673, allocations: 4 kB / 3.69 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/8.674, allocations: 59.59 kB / 3.69 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/8.674, allocations: 8 kB / 3.69 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/8.674, allocations: 8 kB / 3.69 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006886/8.675, allocations: 259.7 kB / 3.69 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/8.675, allocations: 0 / 3.69 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/8.675, allocations: 4 kB / 3.69 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/8.675, allocations: 72.05 kB / 3.69 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/8.675, allocations: 4 kB / 3.69 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/8.675, allocations: 59.66 kB / 3.69 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/8.675, allocations: 7.984 kB / 3.69 GB, free: 13.53 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.0002297/8.676, allocations: 228.9 kB / 3.69 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/8.676, allocations: 47.44 kB / 3.69 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009411/8.677, allocations: 480.6 kB / 3.691 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/8.677, allocations: 4 kB / 3.691 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/8.677, allocations: 0 / 3.691 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/8.677, allocations: 4 kB / 3.691 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005521/8.677, allocations: 456.1 kB / 3.691 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/8.677, allocations: 0 / 3.691 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/8.678, allocations: 55.89 kB / 3.691 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/8.678, allocations: 4 kB / 3.691 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/8.678, allocations: 7.984 kB / 3.691 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/8.678, allocations: 4.312 kB / 3.691 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/8.678, allocations: 4 kB / 3.691 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007536/8.678, allocations: 462.6 kB / 3.692 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/8.679, allocations: 172.2 kB / 3.692 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/8.679, allocations: 4 kB / 3.692 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/8.679, allocations: 43.91 kB / 3.692 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/8.679, allocations: 11.92 kB / 3.692 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/8.679, allocations: 7.984 kB / 3.692 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004097/8.68, allocations: 410.8 kB / 3.692 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/8.68, allocations: 0 / 3.692 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005007/8.685, allocations: 0.96 MB / 3.693 GB, free: 10.12 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.007899/8.692, allocations: 1.278 MB / 3.694 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001288/8.694, allocations: 376.1 kB / 3.695 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/8.694, allocations: 3.938 kB / 3.695 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003383/8.694, allocations: 128.1 kB / 3.695 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/8.696, allocations: 228.2 kB / 3.695 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/8.697, allocations: 0.9216 MB / 3.696 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/8.698, allocations: 0.835 MB / 3.697 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004589/8.698, allocations: 157.8 kB / 3.697 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.441e-05/8.698, allocations: 43.42 kB / 3.697 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/8.698, allocations: 0 / 3.697 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of Templates: time 0.3668/9.065, allocations: 31.25 MB / 3.728 GB, free: 75.84 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)