Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002872/0.002877, allocations: 359.9 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.945/3.945, allocations: 388.9 MB / 405.6 MB, free: 9.656 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.003613/0.003613, allocations: 230.8 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.5232/0.5232, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004577, allocations: 9.062 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.09947, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.893/7.993, allocations: 2.613 GB / 3.293 GB, free: 29.86 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003836/7.993, allocations: 93.58 kB / 3.293 GB, free: 29.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.396/10.39, allocations: 418.2 MB / 3.701 GB, free: 1.633 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/10.39, allocations: 0 / 3.701 GB, free: 1.633 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.58e-05/10.39, allocations: 16 kB / 3.701 GB, free: 1.617 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.3918/10.78, allocations: 1.828 MB / 3.703 GB, free: 52.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/10.78, allocations: 9.75 kB / 3.703 GB, free: 52.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003711/10.79, allocations: 330.4 kB / 3.703 GB, free: 52.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/10.79, allocations: 0.5821 MB / 3.704 GB, free: 51.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/10.79, allocations: 50.38 kB / 3.704 GB, free: 51.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/10.79, allocations: 60.53 kB / 3.704 GB, free: 51.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003931/10.79, allocations: 1.01 MB / 3.705 GB, free: 51.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/10.79, allocations: 1.094 kB / 3.705 GB, free: 51.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/10.79, allocations: 29.55 kB / 3.705 GB, free: 51.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/10.79, allocations: 24.91 kB / 3.705 GB, free: 51.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004424/10.8, allocations: 0.9044 MB / 3.706 GB, free: 51.7 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.007152/10.8, allocations: 4.459 MB / 3.71 GB, free: 48.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003895/10.81, allocations: 0.7925 MB / 3.711 GB, free: 48.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/10.81, allocations: 296.4 kB / 3.711 GB, free: 48.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3376/11.15, allocations: 82.84 MB / 3.792 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/11.15, allocations: 42.53 kB / 3.792 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.545e-06/11.15, allocations: 2.078 kB / 3.792 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.01022/11.16, allocations: 2.227 MB / 3.795 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/11.16, allocations: 113.5 kB / 3.795 GB, free: 31.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008041/11.16, allocations: 489.8 kB / 3.795 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.477e-05/11.16, allocations: 35.83 kB / 3.795 GB, free: 31.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/11.16, allocations: 331 kB / 3.795 GB, free: 31.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/11.16, allocations: 175.7 kB / 3.796 GB, free: 31.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/11.16, allocations: 13.88 kB / 3.796 GB, free: 31.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001984/11.16, allocations: 379.7 kB / 3.796 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/11.16, allocations: 268.3 kB / 3.796 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/11.16, allocations: 460.5 kB / 3.797 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/11.16, allocations: 321.9 kB / 3.797 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/11.16, allocations: 0 / 3.797 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003833/11.17, allocations: 0.9836 MB / 3.798 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001637/11.17, allocations: 257 kB / 3.798 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/11.17, allocations: 12.08 kB / 3.798 GB, free: 30.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00356/11.17, allocations: 437.9 kB / 3.799 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/11.17, allocations: 148.1 kB / 3.799 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/11.17, allocations: 0.9042 MB / 3.8 GB, free: 29.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/11.17, allocations: 96.08 kB / 3.8 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/11.17, allocations: 43.23 kB / 3.8 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/11.17, allocations: 3.188 kB / 3.8 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004373/11.18, allocations: 0.948 MB / 3.801 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/11.18, allocations: 7.578 kB / 3.801 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/11.18, allocations: 329.4 kB / 3.801 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009249/11.18, allocations: 149.8 kB / 3.801 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/11.18, allocations: 0.8778 MB / 3.802 GB, free: 29.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/11.18, allocations: 94.64 kB / 3.802 GB, free: 29.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/11.18, allocations: 37.86 kB / 3.802 GB, free: 29.28 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0005923/11.19, allocations: 288.9 kB / 3.802 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/11.19, allocations: 61.97 kB / 3.802 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005326/11.19, allocations: 2.9 MB / 3.805 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.264e-05/11.19, allocations: 43.59 kB / 3.805 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/11.19, allocations: 7.703 kB / 3.805 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/11.19, allocations: 7.75 kB / 3.805 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006905/11.2, allocations: 4.04 MB / 3.809 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/11.2, allocations: 2.25 kB / 3.809 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/11.2, allocations: 176.3 kB / 3.809 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/11.2, allocations: 82.45 kB / 3.81 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/11.2, allocations: 18.11 kB / 3.81 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009647/11.2, allocations: 1.179 MB / 3.811 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/11.2, allocations: 4.453 kB / 3.811 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005109/11.21, allocations: 2.559 MB / 3.813 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006533/11.21, allocations: 317.6 kB / 3.814 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/11.21, allocations: 13.31 kB / 3.814 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009037/11.21, allocations: 72.2 kB / 3.814 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/11.21, allocations: 56.45 kB / 3.814 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/11.21, allocations: 26.03 kB / 3.814 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007206/11.21, allocations: 402.1 kB / 3.814 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/11.21, allocations: 0 / 3.814 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006923/11.22, allocations: 1.393 MB / 3.815 GB, free: 26.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$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 (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01113/11.23, allocations: 1.734 MB / 3.817 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004883/11.23, allocations: 1.5 MB / 3.819 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/11.23, allocations: 3.656 kB / 3.819 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/11.23, allocations: 0.8603 MB / 3.819 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/11.24, allocations: 302.1 kB / 3.82 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1029/11.34, allocations: 40.76 MB / 3.86 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000882/11.34, allocations: 1.171 MB / 3.861 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00189/11.34, allocations: 0.6537 MB / 3.861 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/11.34, allocations: 62.69 kB / 3.861 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of SimCode: time 1.553e-06/11.34, allocations: 0 / 3.861 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.5073/11.85, allocations: 45.82 MB / 3.906 GB, free: 81.12 MB / 0.5105 GB