Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,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.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008232/0.008238, allocations: 363.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.853/3.853, allocations: 388.9 MB / 405.6 MB, free: 47.98 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003647/0.003647, allocations: 228.7 kB / 451 MB, free: 2.457 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7322/0.7322, allocations: 80 MB / 0.5627 GB, free: 35.37 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006532/0.0006536, allocations: 8 kB / 0.6265 GB, free: 1.922 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.415, allocations: 54.86 MB / 0.6801 GB, free: 41.16 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.59/9.005, allocations: 2.613 GB / 3.293 GB, free: 119.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000407/9.005, allocations: 93.91 kB / 3.293 GB, free: 119.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.478/11.48, allocations: 418.6 MB / 3.702 GB, free: 51.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.534e-06/11.48, allocations: 0 / 3.702 GB, free: 51.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.116e-05/11.48, allocations: 23.38 kB / 3.702 GB, free: 51.63 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.008655/11.49, allocations: 1.864 MB / 3.704 GB, free: 50.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/11.49, allocations: 9.031 kB / 3.704 GB, free: 50.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003838/11.5, allocations: 331.3 kB / 3.704 GB, free: 50.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/11.5, allocations: 0.5893 MB / 3.705 GB, free: 50.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.089e-05/11.5, allocations: 57.92 kB / 3.705 GB, free: 50.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/11.5, allocations: 58.27 kB / 3.705 GB, free: 50.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003788/11.5, allocations: 1.02 MB / 3.706 GB, free: 49.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/11.5, allocations: 6.562 kB / 3.706 GB, free: 49.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/11.5, allocations: 21.78 kB / 3.706 GB, free: 49.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/11.5, allocations: 22.66 kB / 3.706 GB, free: 49.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/11.51, allocations: 0.9337 MB / 3.707 GB, free: 49.45 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.008335/11.52, allocations: 4.756 MB / 3.712 GB, free: 45.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004213/11.52, allocations: 0.8098 MB / 3.712 GB, free: 45.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/11.52, allocations: 291.5 kB / 3.713 GB, free: 45.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06435/11.58, allocations: 21.38 MB / 3.733 GB, free: 31.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/11.59, allocations: 42.25 kB / 3.733 GB, free: 31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.557e-06/11.59, allocations: 0 / 3.733 GB, free: 31 MB / 490.7 MB Notification: Performance of matching and sorting (n=68): time 0.05209/11.64, allocations: 4.957 MB / 3.738 GB, free: 29.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/11.64, allocations: 109.3 kB / 3.738 GB, free: 29.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008922/11.64, allocations: 0.5064 MB / 3.739 GB, free: 29.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001773/11.64, allocations: 37.7 kB / 3.739 GB, free: 29.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/11.64, allocations: 350.9 kB / 3.739 GB, free: 28.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/11.64, allocations: 231.4 kB / 3.74 GB, free: 28.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/11.64, allocations: 15.59 kB / 3.74 GB, free: 28.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/11.64, allocations: 371 kB / 3.74 GB, free: 28.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/11.64, allocations: 472.6 kB / 3.74 GB, free: 28.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/11.64, allocations: 0.6773 MB / 3.741 GB, free: 27.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/11.65, allocations: 0.5171 MB / 3.742 GB, free: 27.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/11.65, allocations: 2.312 kB / 3.742 GB, free: 27.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.006235/11.65, allocations: 1.528 MB / 3.743 GB, free: 26.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001848/11.65, allocations: 276.6 kB / 3.743 GB, free: 26.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/11.65, allocations: 8.5 kB / 3.743 GB, free: 26.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01798/11.67, allocations: 1.792 MB / 3.745 GB, free: 26.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/11.67, allocations: 174 kB / 3.745 GB, free: 26.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/11.68, allocations: 1.96 MB / 3.747 GB, free: 24.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/11.68, allocations: 122.6 kB / 3.747 GB, free: 24.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/11.68, allocations: 55.41 kB / 3.747 GB, free: 24.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/11.68, allocations: 2.875 kB / 3.747 GB, free: 24.86 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006307/11.68, allocations: 1.447 MB / 3.749 GB, free: 24.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/11.68, allocations: 10.91 kB / 3.749 GB, free: 24.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009286/11.69, allocations: 1.038 MB / 3.75 GB, free: 24.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/11.7, allocations: 183.3 kB / 3.75 GB, free: 24.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007695/11.7, allocations: 1.856 MB / 3.752 GB, free: 22.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/11.71, allocations: 108.2 kB / 3.752 GB, free: 22.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/11.71, allocations: 50.2 kB / 3.752 GB, free: 22.77 MB / 490.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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007185/11.71, allocations: 308.3 kB / 3.752 GB, free: 22.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002578/11.71, allocations: 71.91 kB / 3.752 GB, free: 22.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009389/11.72, allocations: 4.061 MB / 3.756 GB, free: 20.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.229e-05/11.72, allocations: 44.25 kB / 3.756 GB, free: 20.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/11.72, allocations: 7.703 kB / 3.756 GB, free: 20.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/11.72, allocations: 7.406 kB / 3.756 GB, free: 20.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/11.73, allocations: 5.507 MB / 3.762 GB, free: 18.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/11.73, allocations: 3.938 kB / 3.762 GB, free: 18.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007639/11.73, allocations: 107.9 kB / 3.762 GB, free: 18.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01527/11.75, allocations: 2.342 MB / 3.764 GB, free: 17.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/11.75, allocations: 29.47 kB / 3.764 GB, free: 17.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005315/11.75, allocations: 2.632 MB / 3.767 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/11.75, allocations: 0 / 3.767 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007457/11.76, allocations: 2.914 MB / 3.769 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008194/11.76, allocations: 354 kB / 3.77 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/11.76, allocations: 23.69 kB / 3.77 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/11.76, allocations: 110.1 kB / 3.77 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/11.76, allocations: 66.06 kB / 3.77 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/11.76, allocations: 31.52 kB / 3.77 GB, free: 12.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007621/11.76, allocations: 444.8 kB / 3.77 GB, free: 12.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.31e-07/11.76, allocations: 0 / 3.77 GB, free: 12.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007567/11.77, allocations: 1.594 MB / 3.772 GB, free: 10.71 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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (47): * Single equations (assignments): 36 * 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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01214/11.78, allocations: 1.855 MB / 3.774 GB, free: 9.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008684/11.79, allocations: 2.33 MB / 3.776 GB, free: 7.234 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/11.79, allocations: 4 kB / 3.776 GB, free: 7.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003196/11.79, allocations: 1.214 MB / 3.777 GB, free: 6.137 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/11.8, allocations: 319.4 kB / 3.778 GB, free: 5.906 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4743/12.27, allocations: 41.02 MB / 3.818 GB, free: 64.99 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008542/12.27, allocations: 1.194 MB / 3.819 GB, free: 64.28 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.002354/12.27, allocations: 0.6534 MB / 3.819 GB, free: 64.27 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/12.28, allocations: 66.11 kB / 3.819 GB, free: 64.27 MB / 0.4949 GB Notification: Performance of SimCode: time 1.403e-06/12.28, allocations: 0 / 3.819 GB, free: 64.27 MB / 0.4949 GB Notification: Performance of Templates: time 0.1283/12.4, allocations: 57.82 MB / 3.876 GB, free: 62.6 MB / 0.4949 GB