Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,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|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002758/0.002757, allocations: 347.2 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.657/3.657, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003561/0.003561, allocations: 214.1 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.494/0.494, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004712, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1017, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.989/8.091, allocations: 2.507 GB / 3.114 GB, free: 17.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/8.091, allocations: 92.98 kB / 3.114 GB, free: 17.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.529/10.62, allocations: 410.2 MB / 3.515 GB, free: 45.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/10.62, allocations: 3.031 kB / 3.515 GB, free: 45.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.575e-05/10.62, allocations: 17.25 kB / 3.515 GB, free: 45.7 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00832/10.63, allocations: 1.793 MB / 3.516 GB, free: 44.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/10.63, allocations: 15.44 kB / 3.516 GB, free: 44.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/10.63, allocations: 333.1 kB / 3.517 GB, free: 44.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/10.63, allocations: 0.5855 MB / 3.517 GB, free: 44.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/10.63, allocations: 47.97 kB / 3.517 GB, free: 44.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/10.63, allocations: 55.92 kB / 3.517 GB, free: 44.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/10.64, allocations: 1.013 MB / 3.518 GB, free: 44.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/10.64, allocations: 11.12 kB / 3.518 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/10.64, allocations: 26.62 kB / 3.518 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/10.64, allocations: 28.28 kB / 3.518 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/10.64, allocations: 0.9149 MB / 3.519 GB, free: 44.48 MB / 442.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.007253/10.65, allocations: 4.825 MB / 3.524 GB, free: 41.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/10.65, allocations: 0.7588 MB / 3.525 GB, free: 41.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009856/10.65, allocations: 287.8 kB / 3.525 GB, free: 41.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06487/10.72, allocations: 21.58 MB / 3.546 GB, free: 27.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/10.72, allocations: 37.03 kB / 3.546 GB, free: 27.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.917e-06/10.72, allocations: 0 / 3.546 GB, free: 27.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.04916/10.77, allocations: 4.544 MB / 3.551 GB, free: 26.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/10.77, allocations: 113.5 kB / 3.551 GB, free: 26.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008825/10.77, allocations: 0.4885 MB / 3.551 GB, free: 26.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/10.77, allocations: 36.92 kB / 3.551 GB, free: 26.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/10.77, allocations: 350.4 kB / 3.551 GB, free: 26.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/10.77, allocations: 213.6 kB / 3.552 GB, free: 26.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/10.77, allocations: 21.31 kB / 3.552 GB, free: 26.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/10.77, allocations: 369.2 kB / 3.552 GB, free: 25.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/10.77, allocations: 391.2 kB / 3.552 GB, free: 25.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/10.77, allocations: 0.5954 MB / 3.553 GB, free: 25.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/10.78, allocations: 444.4 kB / 3.553 GB, free: 25.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/10.78, allocations: 6.562 kB / 3.553 GB, free: 25.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004838/10.78, allocations: 1.29 MB / 3.555 GB, free: 25.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001853/10.78, allocations: 273.5 kB / 3.555 GB, free: 25.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/10.78, allocations: 6.562 kB / 3.555 GB, free: 25.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009784/10.79, allocations: 1.108 MB / 3.556 GB, free: 25.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/10.79, allocations: 168.1 kB / 3.556 GB, free: 25.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003769/10.8, allocations: 1.723 MB / 3.558 GB, free: 24.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/10.8, allocations: 99.98 kB / 3.558 GB, free: 24.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/10.8, allocations: 53.73 kB / 3.558 GB, free: 24.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/10.8, allocations: 7.031 kB / 3.558 GB, free: 24.02 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005066/10.8, allocations: 1.229 MB / 3.559 GB, free: 24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/10.8, allocations: 3.969 kB / 3.559 GB, free: 24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006009/10.81, allocations: 0.7385 MB / 3.56 GB, free: 23.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/10.81, allocations: 164.2 kB / 3.56 GB, free: 23.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003794/10.81, allocations: 1.697 MB / 3.562 GB, free: 22.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/10.81, allocations: 103.1 kB / 3.562 GB, free: 22.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/10.82, allocations: 48.66 kB / 3.562 GB, free: 22.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (69): * Single equations (assignments): 67 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.000636/10.82, allocations: 307.6 kB / 3.562 GB, free: 22.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/10.82, allocations: 65.03 kB / 3.562 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008232/10.82, allocations: 3.879 MB / 3.566 GB, free: 22.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.746e-05/10.82, allocations: 49.55 kB / 3.566 GB, free: 22.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/10.82, allocations: 3.938 kB / 3.566 GB, free: 22.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/10.82, allocations: 7.281 kB / 3.566 GB, free: 22.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/10.83, allocations: 5.233 MB / 3.571 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/10.83, allocations: 0 / 3.571 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007964/10.84, allocations: 114.5 kB / 3.571 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008648/10.84, allocations: 1.712 MB / 3.573 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/10.84, allocations: 22.48 kB / 3.573 GB, free: 21.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004209/10.85, allocations: 2.416 MB / 3.575 GB, free: 20.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/10.85, allocations: 7.922 kB / 3.575 GB, free: 20.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006176/10.86, allocations: 2.637 MB / 3.578 GB, free: 20.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008678/10.86, allocations: 352.8 kB / 3.578 GB, free: 19.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/10.86, allocations: 15.81 kB / 3.578 GB, free: 19.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/10.86, allocations: 97.64 kB / 3.578 GB, free: 19.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/10.86, allocations: 69.39 kB / 3.578 GB, free: 19.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/10.86, allocations: 37.62 kB / 3.579 GB, free: 19.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008039/10.86, allocations: 431.6 kB / 3.579 GB, free: 19.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/10.86, allocations: 0 / 3.579 GB, free: 19.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008204/10.87, allocations: 1.563 MB / 3.58 GB, free: 19.32 MB / 442.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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01333/10.88, allocations: 1.827 MB / 3.582 GB, free: 18.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00798/10.89, allocations: 2.075 MB / 3.584 GB, free: 18.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/10.89, allocations: 0 / 3.584 GB, free: 18.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002914/10.89, allocations: 1.14 MB / 3.585 GB, free: 17.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/10.89, allocations: 311.6 kB / 3.586 GB, free: 17.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1/10.99, allocations: 40.65 MB / 3.625 GB, free: 6.109 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/11, allocations: 1.186 MB / 3.627 GB, free: 5.074 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001968/11, allocations: 0.6686 MB / 3.627 GB, free: 4.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/11, allocations: 67.05 kB / 3.627 GB, free: 4.617 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/11, allocations: 4 kB / 3.627 GB, free: 4.613 MB / 442.7 MB Notification: Performance of Templates: time 0.479/11.48, allocations: 55.34 MB / 3.681 GB, free: 57.41 MB / 458.7 MB