Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,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.TestWaterPumpDefault") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004014/0.004021, allocations: 359.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.696/3.696, allocations: 388.9 MB / 405.6 MB, free: 48.56 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.003537/0.003537, allocations: 228.7 kB / 451 MB, free: 3.031 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.8443/0.8443, allocations: 80.01 MB / 0.5627 GB, free: 5.988 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.0005112, allocations: 12 kB / 0.6265 GB, free: 4.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1228, allocations: 54.88 MB / 0.6801 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.255/8.377, allocations: 2.613 GB / 3.293 GB, free: 35.87 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004265/8.378, allocations: 92.03 kB / 3.293 GB, free: 35.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.143/10.52, allocations: 417.5 MB / 3.7 GB, free: 7.426 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.986e-06/10.52, allocations: 0 / 3.7 GB, free: 7.426 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.622e-05/10.52, allocations: 16 kB / 3.7 GB, free: 7.41 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008472/10.53, allocations: 1.833 MB / 3.702 GB, free: 5.539 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/10.53, allocations: 11.97 kB / 3.702 GB, free: 5.527 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/10.53, allocations: 324 kB / 3.703 GB, free: 5.211 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/10.53, allocations: 0.5756 MB / 3.703 GB, free: 4.609 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.188e-05/10.54, allocations: 61.2 kB / 3.703 GB, free: 4.547 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/10.54, allocations: 55.98 kB / 3.703 GB, free: 4.492 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003634/10.54, allocations: 0.9923 MB / 3.704 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/10.54, allocations: 0 / 3.704 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/10.54, allocations: 27.91 kB / 3.704 GB, free: 3.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/10.54, allocations: 21 kB / 3.704 GB, free: 3.395 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005241/10.54, allocations: 0.9053 MB / 3.705 GB, free: 2.484 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.371/10.92, allocations: 4.708 MB / 3.71 GB, free: 43.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/10.92, allocations: 0.6826 MB / 3.71 GB, free: 43.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009833/10.92, allocations: 274.8 kB / 3.711 GB, free: 43.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06304/10.98, allocations: 21.38 MB / 3.732 GB, free: 29.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/10.98, allocations: 45.67 kB / 3.732 GB, free: 29.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.917e-06/10.98, allocations: 0 / 3.732 GB, free: 29.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.05062/11.03, allocations: 4.464 MB / 3.736 GB, free: 45.13 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/11.03, allocations: 107.3 kB / 3.736 GB, free: 45.01 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009362/11.03, allocations: 496.9 kB / 3.737 GB, free: 44.89 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001845/11.03, allocations: 37.83 kB / 3.737 GB, free: 44.86 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/11.04, allocations: 349 kB / 3.737 GB, free: 44.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/11.04, allocations: 205.3 kB / 3.737 GB, free: 44.6 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/11.04, allocations: 13.75 kB / 3.737 GB, free: 44.6 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001829/11.04, allocations: 371.5 kB / 3.737 GB, free: 44.29 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/11.04, allocations: 384.2 kB / 3.738 GB, free: 44.29 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/11.04, allocations: 0.5907 MB / 3.738 GB, free: 44.05 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/11.04, allocations: 432.7 kB / 3.739 GB, free: 44.05 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/11.04, allocations: 4.266 kB / 3.739 GB, free: 44.05 MB / 0.4949 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004852/11.05, allocations: 1.267 MB / 3.74 GB, free: 43.96 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002102/11.05, allocations: 276.2 kB / 3.74 GB, free: 43.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/11.05, allocations: 5.5 kB / 3.74 GB, free: 43.66 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009969/11.06, allocations: 1.106 MB / 3.741 GB, free: 43.64 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/11.06, allocations: 160.8 kB / 3.742 GB, free: 43.64 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00423/11.06, allocations: 1.735 MB / 3.743 GB, free: 42.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/11.06, allocations: 105.9 kB / 3.743 GB, free: 42.59 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/11.06, allocations: 47.86 kB / 3.743 GB, free: 42.59 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/11.06, allocations: 3.719 kB / 3.743 GB, free: 42.59 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005149/11.07, allocations: 1.197 MB / 3.745 GB, free: 42.56 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/11.07, allocations: 5.844 kB / 3.745 GB, free: 42.56 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006295/11.08, allocations: 0.7333 MB / 3.745 GB, free: 42.55 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/11.08, allocations: 166.3 kB / 3.745 GB, free: 42.55 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003817/11.08, allocations: 1.683 MB / 3.747 GB, free: 41.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/11.08, allocations: 105 kB / 3.747 GB, free: 41.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/11.08, allocations: 44.28 kB / 3.747 GB, free: 41.5 MB / 0.4949 GB 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 (66): * Single equations (assignments): 64 * 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.0006749/11.08, allocations: 299.6 kB / 3.748 GB, free: 41.31 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/11.08, allocations: 65.47 kB / 3.748 GB, free: 41.28 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008506/11.09, allocations: 3.831 MB / 3.751 GB, free: 40.96 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-05/11.09, allocations: 44.62 kB / 3.751 GB, free: 40.96 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/11.09, allocations: 6.203 kB / 3.751 GB, free: 40.96 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/11.09, allocations: 4.859 kB / 3.751 GB, free: 40.96 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/11.1, allocations: 5.124 MB / 3.756 GB, free: 40.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/11.1, allocations: 1.594 kB / 3.756 GB, free: 40.48 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007678/11.1, allocations: 112.2 kB / 3.757 GB, free: 40.48 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009045/11.11, allocations: 1.741 MB / 3.758 GB, free: 40.41 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/11.11, allocations: 22.02 kB / 3.758 GB, free: 40.41 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004743/11.12, allocations: 2.417 MB / 3.761 GB, free: 39.34 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/11.12, allocations: 1.969 kB / 3.761 GB, free: 39.34 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006761/11.12, allocations: 2.6 MB / 3.763 GB, free: 39.02 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009778/11.13, allocations: 346.4 kB / 3.763 GB, free: 38.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/11.13, allocations: 19.8 kB / 3.763 GB, free: 38.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/11.13, allocations: 97.27 kB / 3.764 GB, free: 38.85 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/11.13, allocations: 62.81 kB / 3.764 GB, free: 38.85 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/11.13, allocations: 34.52 kB / 3.764 GB, free: 38.85 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001002/11.13, allocations: 428.5 kB / 3.764 GB, free: 38.75 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5.41e-07/11.13, allocations: 1.594 kB / 3.764 GB, free: 38.75 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008695/11.14, allocations: 1.564 MB / 3.766 GB, free: 38.75 MB / 0.4949 GB 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 (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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01294/11.15, allocations: 1.843 MB / 3.767 GB, free: 38.61 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008484/11.16, allocations: 2.034 MB / 3.769 GB, free: 38.55 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/11.16, allocations: 3.281 kB / 3.769 GB, free: 38.55 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003457/11.16, allocations: 1.133 MB / 3.771 GB, free: 38.54 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/11.17, allocations: 306.2 kB / 3.771 GB, free: 38.54 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/11.27, allocations: 40.82 MB / 3.811 GB, free: 36.24 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/11.27, allocations: 1.182 MB / 3.812 GB, free: 35.52 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001863/11.28, allocations: 0.661 MB / 3.812 GB, free: 35.49 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/11.28, allocations: 60.16 kB / 3.813 GB, free: 35.49 MB / 0.4949 GB Notification: Performance of SimCode: time 1.804e-06/11.28, allocations: 3.906 kB / 3.813 GB, free: 35.49 MB / 0.4949 GB Notification: Performance of Templates: time 0.1106/11.39, allocations: 55.24 MB / 3.866 GB, free: 25.99 MB / 0.4949 GB