Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009954/0.0009955, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.776/1.776, allocations: 205.4 MB / 223.5 MB, free: 9.031 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.001073/0.001073, allocations: 89.48 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.523/0.523, allocations: 48.79 MB / 369 MB, free: 47.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004522, allocations: 15.98 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.188, allocations: 60.25 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.438/7.626, allocations: 2.866 GB / 3.354 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/7.626, allocations: 85.27 kB / 3.354 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9046/8.531, allocations: 267.1 MB / 3.615 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.155e-06/8.531, allocations: 3.938 kB / 3.615 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.528e-05/8.531, allocations: 11.56 kB / 3.615 GB, free: 80.8 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.005178/8.536, allocations: 1.159 MB / 3.616 GB, free: 80.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/8.536, allocations: 11.69 kB / 3.616 GB, free: 80.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/8.537, allocations: 76.89 kB / 3.616 GB, free: 80.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006194/8.537, allocations: 406.9 kB / 3.617 GB, free: 79.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/8.537, allocations: 21.94 kB / 3.617 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/8.538, allocations: 26.25 kB / 3.617 GB, free: 79.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007471/8.538, allocations: 433.9 kB / 3.617 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/8.538, allocations: 0 / 3.617 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/8.538, allocations: 15.88 kB / 3.617 GB, free: 79.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/8.538, allocations: 10.12 kB / 3.617 GB, free: 79.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/8.539, allocations: 261.5 kB / 3.617 GB, free: 79.37 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.001859/8.541, allocations: 1.862 MB / 3.619 GB, free: 77.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/8.541, allocations: 147.9 kB / 3.619 GB, free: 77.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/8.541, allocations: 84.94 kB / 3.62 GB, free: 77.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05064/8.592, allocations: 31.86 MB / 3.651 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/8.592, allocations: 42.2 kB / 3.651 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 2.404e-06/8.592, allocations: 0 / 3.651 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.002294/8.594, allocations: 0.5953 MB / 3.651 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/8.595, allocations: 51.41 kB / 3.651 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/8.595, allocations: 397.2 kB / 3.652 GB, free: 56.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/8.595, allocations: 25.7 kB / 3.652 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/8.595, allocations: 226.2 kB / 3.652 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/8.595, allocations: 50.83 kB / 3.652 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-06/8.595, allocations: 4 kB / 3.652 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/8.595, allocations: 350.7 kB / 3.652 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/8.596, allocations: 69.55 kB / 3.652 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/8.596, allocations: 106.7 kB / 3.652 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/8.596, allocations: 167.7 kB / 3.653 GB, free: 55.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/8.596, allocations: 0 / 3.653 GB, free: 55.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005806/8.597, allocations: 291 kB / 3.653 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.338e-05/8.597, allocations: 120.1 kB / 3.653 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/8.597, allocations: 8.062 kB / 3.653 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/8.598, allocations: 193.7 kB / 3.653 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/8.598, allocations: 50.92 kB / 3.653 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005645/8.599, allocations: 0.6351 MB / 3.654 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/8.599, allocations: 42.3 kB / 3.654 GB, free: 54.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/8.599, allocations: 15.8 kB / 3.654 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/8.599, allocations: 5.938 kB / 3.654 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006578/8.6, allocations: 243 kB / 3.654 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/8.6, allocations: 4 kB / 3.654 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/8.601, allocations: 90.7 kB / 3.654 GB, free: 54.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/8.601, allocations: 60.3 kB / 3.654 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/8.602, allocations: 1.462 MB / 3.656 GB, free: 53.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/8.603, allocations: 42.58 kB / 3.656 GB, free: 53.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/8.603, allocations: 11.44 kB / 3.656 GB, free: 53.28 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000216/8.603, allocations: 214.6 kB / 3.656 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.67e-05/8.603, allocations: 42 kB / 3.656 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/8.604, allocations: 0.9204 MB / 3.657 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/8.604, allocations: 7.484 kB / 3.657 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/8.604, allocations: 0 / 3.657 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/8.604, allocations: 7.984 kB / 3.657 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006625/8.605, allocations: 0.5461 MB / 3.657 GB, free: 52.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/8.605, allocations: 7.812 kB / 3.657 GB, free: 52.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.769e-05/8.605, allocations: 22.14 kB / 3.658 GB, free: 52.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/8.606, allocations: 0.8158 MB / 3.658 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/8.606, allocations: 11.98 kB / 3.658 GB, free: 51.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007954/8.607, allocations: 1.061 MB / 3.659 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/8.607, allocations: 4.062 kB / 3.659 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008261/8.608, allocations: 0.7884 MB / 3.66 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/8.608, allocations: 148.2 kB / 3.66 GB, free: 49.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/8.608, allocations: 8 kB / 3.66 GB, free: 49.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/8.608, allocations: 27.91 kB / 3.66 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/8.609, allocations: 15.98 kB / 3.66 GB, free: 49.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/8.609, allocations: 8 kB / 3.66 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003339/8.609, allocations: 338.8 kB / 3.661 GB, free: 49.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/8.609, allocations: 0 / 3.661 GB, free: 49.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004384/8.613, allocations: 0.9833 MB / 3.662 GB, free: 48.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006357/8.62, allocations: 1.276 MB / 3.663 GB, free: 47.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001144/8.621, allocations: 486.4 kB / 3.663 GB, free: 46.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/8.621, allocations: 0 / 3.663 GB, free: 46.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003115/8.621, allocations: 188 kB / 3.663 GB, free: 46.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/8.622, allocations: 213.6 kB / 3.664 GB, free: 46.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/8.624, allocations: 1.042 MB / 3.665 GB, free: 45.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/8.624, allocations: 0.8438 MB / 3.666 GB, free: 44.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000329/8.624, allocations: 170.6 kB / 3.666 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/8.624, allocations: 35.42 kB / 3.666 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of SimCode: time 6.81e-07/8.624, allocations: 0 / 3.666 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of Templates: time 0.04278/8.667, allocations: 31.91 MB / 3.697 GB, free: 12.31 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1)