Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.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.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00399/0.003988, allocations: 349.3 kB / 15.93 MB, free: 6.207 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.537/3.537, allocations: 341.5 MB / 358.2 MB, free: 28.61 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003505/0.003504, allocations: 214.5 kB / 397.8 MB, free: 6.016 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4958/0.4958, allocations: 76.09 MB / 0.5014 GB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.000459, allocations: 12 kB / 0.5592 GB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09411, allocations: 48.7 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.918/8.012, allocations: 2.485 GB / 3.092 GB, free: 107 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/8.012, allocations: 86.45 kB / 3.092 GB, free: 107 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.966/9.979, allocations: 392.3 MB / 3.475 GB, free: 44.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.016e-06/9.979, allocations: 3.938 kB / 3.475 GB, free: 44.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.1e-05/9.979, allocations: 24.73 kB / 3.475 GB, free: 44.07 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007573/9.987, allocations: 1.675 MB / 3.477 GB, free: 43.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/9.987, allocations: 6.656 kB / 3.477 GB, free: 43.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/9.99, allocations: 285.9 kB / 3.477 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/9.992, allocations: 0.5468 MB / 3.478 GB, free: 42.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/9.992, allocations: 46.88 kB / 3.478 GB, free: 42.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/9.992, allocations: 49.66 kB / 3.478 GB, free: 42.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003521/9.995, allocations: 0.9715 MB / 3.479 GB, free: 42.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/9.995, allocations: 7.641 kB / 3.479 GB, free: 42.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/9.996, allocations: 23.91 kB / 3.479 GB, free: 42.15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/9.996, allocations: 30.33 kB / 3.479 GB, free: 42.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003946/10, allocations: 0.8608 MB / 3.48 GB, free: 41.94 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.006649/10.01, allocations: 4.559 MB / 3.484 GB, free: 38.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/10.01, allocations: 0.7338 MB / 3.485 GB, free: 37.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009953/10.01, allocations: 271.7 kB / 3.485 GB, free: 37.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06295/10.07, allocations: 21.33 MB / 3.506 GB, free: 23.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/10.07, allocations: 46.17 kB / 3.506 GB, free: 23.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 4.158e-06/10.07, allocations: 4 kB / 3.506 GB, free: 23.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.02124/10.1, allocations: 3.399 MB / 3.509 GB, free: 20.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/10.1, allocations: 111.4 kB / 3.509 GB, free: 20.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007485/10.1, allocations: 427.8 kB / 3.51 GB, free: 20.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001555/10.1, allocations: 33.7 kB / 3.51 GB, free: 20.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/10.1, allocations: 327 kB / 3.51 GB, free: 20.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/10.1, allocations: 202.5 kB / 3.51 GB, free: 19.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/10.1, allocations: 19.94 kB / 3.51 GB, free: 19.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/10.1, allocations: 360.4 kB / 3.511 GB, free: 19.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/10.1, allocations: 312.6 kB / 3.511 GB, free: 19.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/10.1, allocations: 0.521 MB / 3.511 GB, free: 18.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/10.1, allocations: 363.8 kB / 3.512 GB, free: 18.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/10.1, allocations: 0 / 3.512 GB, free: 18.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.006519/10.11, allocations: 1.202 MB / 3.513 GB, free: 17.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/10.11, allocations: 272.3 kB / 3.513 GB, free: 17.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/10.11, allocations: 4 kB / 3.513 GB, free: 17.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006513/10.11, allocations: 0.6314 MB / 3.514 GB, free: 16.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009788/10.12, allocations: 149.8 kB / 3.514 GB, free: 16.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/10.12, allocations: 1.561 MB / 3.515 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/10.12, allocations: 85.78 kB / 3.515 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/10.12, allocations: 39.66 kB / 3.516 GB, free: 14.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/10.12, allocations: 4 kB / 3.516 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009286/10.13, allocations: 1.102 MB / 3.517 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/10.13, allocations: 7.234 kB / 3.517 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00799/10.14, allocations: 0.5351 MB / 3.517 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009755/10.14, allocations: 148.4 kB / 3.517 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/10.14, allocations: 1.537 MB / 3.519 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/10.14, allocations: 87.61 kB / 3.519 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/10.14, allocations: 41.86 kB / 3.519 GB, free: 11.72 MB / 442.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.0005549/10.14, allocations: 293.3 kB / 3.519 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/10.14, allocations: 59.3 kB / 3.519 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006872/10.15, allocations: 3.432 MB / 3.523 GB, free: 8.289 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.388e-05/10.15, allocations: 43.08 kB / 3.523 GB, free: 8.266 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/10.15, allocations: 4 kB / 3.523 GB, free: 8.262 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/10.15, allocations: 3.703 kB / 3.523 GB, free: 8.262 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009573/10.16, allocations: 4.707 MB / 3.527 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/10.16, allocations: 0 / 3.527 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000755/10.16, allocations: 107.1 kB / 3.527 GB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005275/10.17, allocations: 1.004 MB / 3.528 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/10.17, allocations: 20 kB / 3.528 GB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003225/10.17, allocations: 1.992 MB / 3.53 GB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/10.17, allocations: 3.953 kB / 3.53 GB, free: 1.285 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006205/10.18, allocations: 2.253 MB / 3.532 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007668/10.18, allocations: 312.6 kB / 3.533 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/10.18, allocations: 16 kB / 3.533 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/10.18, allocations: 93.5 kB / 3.533 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/10.18, allocations: 63.38 kB / 3.533 GB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.759e-05/10.18, allocations: 27.94 kB / 3.533 GB, free: 15 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000733/10.18, allocations: 395.1 kB / 3.533 GB, free: 14.67 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/10.18, allocations: 0 / 3.533 GB, free: 14.67 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00701/10.19, allocations: 1.388 MB / 3.535 GB, free: 13.31 MB / 458.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.01086/10.2, allocations: 1.718 MB / 3.536 GB, free: 11.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007397/10.2, allocations: 1.784 MB / 3.538 GB, free: 10.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/10.2, allocations: 4 kB / 3.538 GB, free: 10.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002993/10.21, allocations: 1 MB / 3.539 GB, free: 9.312 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/10.21, allocations: 294.5 kB / 3.539 GB, free: 9.023 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4289/10.64, allocations: 40.42 MB / 3.579 GB, free: 61.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/10.64, allocations: 1.162 MB / 3.58 GB, free: 60.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00181/10.64, allocations: 0.6545 MB / 3.581 GB, free: 60.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/10.64, allocations: 59.92 kB / 3.581 GB, free: 60.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/10.64, allocations: 3.125 kB / 3.581 GB, free: 60.84 MB / 458.7 MB Notification: Performance of Templates: time 0.1029/10.75, allocations: 47.7 MB / 3.627 GB, free: 58.5 MB / 458.7 MB