Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004247/0.004253, allocations: 362.2 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.943/3.943, allocations: 388.9 MB / 405.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003524/0.003524, allocations: 239.3 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5434/0.5434, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005738/0.000574, allocations: 19.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1073, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.864/7.971, allocations: 2.596 GB / 3.276 GB, free: 51.05 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/7.971, allocations: 90.64 kB / 3.276 GB, free: 51.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.21/10.18, allocations: 400.3 MB / 3.667 GB, free: 38 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.056e-06/10.18, allocations: 0 / 3.667 GB, free: 38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.566e-05/10.18, allocations: 23.84 kB / 3.667 GB, free: 37.98 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.009929/10.19, allocations: 1.714 MB / 3.669 GB, free: 36.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/10.19, allocations: 8.031 kB / 3.669 GB, free: 36.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005364/10.2, allocations: 301.5 kB / 3.669 GB, free: 35.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/10.2, allocations: 0.5442 MB / 3.669 GB, free: 35.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/10.2, allocations: 45.31 kB / 3.67 GB, free: 35.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/10.2, allocations: 55.95 kB / 3.67 GB, free: 35.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/10.2, allocations: 0.965 MB / 3.671 GB, free: 34.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-05/10.2, allocations: 3.938 kB / 3.671 GB, free: 34.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/10.2, allocations: 24 kB / 3.671 GB, free: 34.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/10.2, allocations: 25 kB / 3.671 GB, free: 34.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/10.21, allocations: 0.8663 MB / 3.671 GB, free: 33.3 MB / 490.7 MB 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.009031/10.22, allocations: 4.554 MB / 3.676 GB, free: 28.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003626/10.22, allocations: 0.743 MB / 3.677 GB, free: 27.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000997/10.22, allocations: 264.7 kB / 3.677 GB, free: 27.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06386/10.29, allocations: 21.39 MB / 3.698 GB, free: 3.324 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/10.29, allocations: 46.45 kB / 3.698 GB, free: 3.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 2.855e-06/10.29, allocations: 0 / 3.698 GB, free: 3.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.3834/10.67, allocations: 3.396 MB / 3.701 GB, free: 61.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/10.67, allocations: 113.3 kB / 3.701 GB, free: 61.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008385/10.67, allocations: 426.3 kB / 3.702 GB, free: 61.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001616/10.67, allocations: 38.33 kB / 3.702 GB, free: 61.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/10.67, allocations: 329.7 kB / 3.702 GB, free: 61.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/10.67, allocations: 199.5 kB / 3.702 GB, free: 61.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/10.67, allocations: 15.86 kB / 3.702 GB, free: 61.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/10.67, allocations: 364.1 kB / 3.703 GB, free: 60.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/10.67, allocations: 312.5 kB / 3.703 GB, free: 60.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/10.67, allocations: 0.5123 MB / 3.703 GB, free: 60.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/10.68, allocations: 361.4 kB / 3.704 GB, free: 60.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/10.68, allocations: 2.781 kB / 3.704 GB, free: 60.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.007791/10.68, allocations: 1.204 MB / 3.705 GB, free: 60.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/10.68, allocations: 267.8 kB / 3.705 GB, free: 60.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/10.68, allocations: 5.75 kB / 3.705 GB, free: 60.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008477/10.69, allocations: 0.6306 MB / 3.706 GB, free: 60.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/10.69, allocations: 143.5 kB / 3.706 GB, free: 60.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004773/10.7, allocations: 1.556 MB / 3.707 GB, free: 59.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/10.7, allocations: 89.42 kB / 3.707 GB, free: 59.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/10.7, allocations: 43.59 kB / 3.708 GB, free: 59.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/10.7, allocations: 3.906 kB / 3.708 GB, free: 59.16 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008035/10.71, allocations: 1.111 MB / 3.709 GB, free: 59.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/10.71, allocations: 3.531 kB / 3.709 GB, free: 59.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01931/10.73, allocations: 0.5333 MB / 3.709 GB, free: 59.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/10.73, allocations: 141.3 kB / 3.709 GB, free: 59.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/10.73, allocations: 1.537 MB / 3.711 GB, free: 58.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/10.74, allocations: 89.58 kB / 3.711 GB, free: 58.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/10.74, allocations: 37.5 kB / 3.711 GB, free: 58.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * 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 {2 9,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007536/10.74, allocations: 291.1 kB / 3.711 GB, free: 57.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/10.74, allocations: 63.62 kB / 3.711 GB, free: 57.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02227/10.76, allocations: 3.446 MB / 3.715 GB, free: 57.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/10.76, allocations: 43.41 kB / 3.715 GB, free: 57.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/10.76, allocations: 0 / 3.715 GB, free: 57.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.722e-05/10.76, allocations: 5.922 kB / 3.715 GB, free: 57.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/10.78, allocations: 4.705 MB / 3.719 GB, free: 57.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/10.78, allocations: 0 / 3.719 GB, free: 57.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/10.78, allocations: 103.5 kB / 3.719 GB, free: 57.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008092/10.79, allocations: 0.9977 MB / 3.72 GB, free: 57.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/10.79, allocations: 15.42 kB / 3.72 GB, free: 57.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005011/10.79, allocations: 1.988 MB / 3.722 GB, free: 55.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/10.79, allocations: 0.6562 kB / 3.722 GB, free: 55.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007889/10.8, allocations: 2.198 MB / 3.724 GB, free: 55.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/10.8, allocations: 325.2 kB / 3.725 GB, free: 55.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004187/10.8, allocations: 14.12 kB / 3.725 GB, free: 55.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/10.8, allocations: 91 kB / 3.725 GB, free: 55.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/10.8, allocations: 56.77 kB / 3.725 GB, free: 55.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/10.8, allocations: 27.89 kB / 3.725 GB, free: 55.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001099/10.8, allocations: 388.9 kB / 3.725 GB, free: 55.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.162e-06/10.8, allocations: 0 / 3.725 GB, free: 55.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01002/10.81, allocations: 1.42 MB / 3.727 GB, free: 55.37 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {2 8,2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01537/10.83, allocations: 1.732 MB / 3.728 GB, free: 55.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01076/10.84, allocations: 1.783 MB / 3.73 GB, free: 55.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/10.84, allocations: 3.422 kB / 3.73 GB, free: 55.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004403/10.85, allocations: 1.004 MB / 3.731 GB, free: 55.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004298/10.85, allocations: 284.2 kB / 3.731 GB, free: 55.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1063/10.96, allocations: 40.65 MB / 3.771 GB, free: 53.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006486/10.96, allocations: 1.163 MB / 3.772 GB, free: 52.83 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001827/10.96, allocations: 0.6568 MB / 3.773 GB, free: 52.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/10.96, allocations: 61.31 kB / 3.773 GB, free: 52.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/10.96, allocations: 4 kB / 3.773 GB, free: 52.79 MB / 490.7 MB Notification: Performance of Templates: time 0.09763/11.06, allocations: 47.99 MB / 3.82 GB, free: 49.98 MB / 490.7 MB