Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004302/0.004301, allocations: 362.6 kB / 15.95 MB, free: 6.203 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 4.092/4.092, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.003546/0.003546, allocations: 227.7 kB / 451 MB, free: 145.1 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.5134/0.5134, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006285/0.0006288, allocations: 19.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1031, allocations: 54.85 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.956/8.059, allocations: 2.613 GB / 3.293 GB, free: 42.78 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/8.06, allocations: 87.02 kB / 3.293 GB, free: 42.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.097/10.16, allocations: 417.8 MB / 3.701 GB, free: 13.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.735e-06/10.16, allocations: 0 / 3.701 GB, free: 13.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.724e-05/10.16, allocations: 27.2 kB / 3.701 GB, free: 13.68 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.009117/10.17, allocations: 1.823 MB / 3.703 GB, free: 11.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/10.17, allocations: 8.031 kB / 3.703 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003772/10.17, allocations: 331.6 kB / 3.703 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/10.17, allocations: 0.5891 MB / 3.704 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.848e-05/10.17, allocations: 53.31 kB / 3.704 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/10.17, allocations: 55.98 kB / 3.704 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003747/10.18, allocations: 0.9923 MB / 3.705 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/10.18, allocations: 7.938 kB / 3.705 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/10.18, allocations: 32 kB / 3.705 GB, free: 9.672 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/10.18, allocations: 21 kB / 3.705 GB, free: 9.652 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004213/10.18, allocations: 0.9014 MB / 3.706 GB, free: 8.746 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.006583/10.19, allocations: 4.445 MB / 3.71 GB, free: 3.914 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00384/10.19, allocations: 0.7932 MB / 3.711 GB, free: 3.113 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/10.19, allocations: 290 kB / 3.711 GB, free: 2.828 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6814/10.87, allocations: 82.83 MB / 3.792 GB, free: 21.94 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008455/10.87, allocations: 44.34 kB / 3.792 GB, free: 37.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.697e-06/10.87, allocations: 4 kB / 3.792 GB, free: 37.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.01035/10.88, allocations: 2.211 MB / 3.794 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/10.88, allocations: 107 kB / 3.794 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/10.89, allocations: 488.3 kB / 3.795 GB, free: 37.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/10.89, allocations: 34.45 kB / 3.795 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/10.89, allocations: 340.3 kB / 3.795 GB, free: 37.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/10.89, allocations: 187.5 kB / 3.795 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/10.89, allocations: 9.312 kB / 3.795 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001877/10.89, allocations: 367.3 kB / 3.796 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/10.89, allocations: 265.9 kB / 3.796 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/10.89, allocations: 468.2 kB / 3.796 GB, free: 36.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/10.89, allocations: 319.5 kB / 3.797 GB, free: 36.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/10.89, allocations: 0 / 3.797 GB, free: 36.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003971/10.89, allocations: 0.9878 MB / 3.798 GB, free: 36.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/10.89, allocations: 254.5 kB / 3.798 GB, free: 36.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/10.89, allocations: 11.23 kB / 3.798 GB, free: 36.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/10.9, allocations: 455.8 kB / 3.798 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009763/10.9, allocations: 140.7 kB / 3.798 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/10.9, allocations: 0.9088 MB / 3.799 GB, free: 35.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/10.9, allocations: 102.5 kB / 3.799 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/10.9, allocations: 36.53 kB / 3.799 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/10.9, allocations: 5 kB / 3.799 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00416/10.91, allocations: 0.9345 MB / 3.8 GB, free: 35.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/10.91, allocations: 6.844 kB / 3.8 GB, free: 35.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002258/10.91, allocations: 317.7 kB / 3.801 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/10.91, allocations: 153.4 kB / 3.801 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/10.91, allocations: 0.8753 MB / 3.802 GB, free: 34.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/10.91, allocations: 89.12 kB / 3.802 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/10.91, allocations: 36.64 kB / 3.802 GB, free: 34.91 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 (60): * Single equations (assignments): 59 * 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 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006357/10.91, allocations: 289 kB / 3.802 GB, free: 34.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/10.91, allocations: 61.38 kB / 3.802 GB, free: 34.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00534/10.92, allocations: 2.893 MB / 3.805 GB, free: 34.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.277e-05/10.92, allocations: 45.14 kB / 3.805 GB, free: 34.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/10.92, allocations: 4 kB / 3.805 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/10.92, allocations: 3.656 kB / 3.805 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007189/10.93, allocations: 4.023 MB / 3.809 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/10.93, allocations: 2.75 kB / 3.809 GB, free: 33.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/10.93, allocations: 164.7 kB / 3.809 GB, free: 33.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006222/10.93, allocations: 81.19 kB / 3.809 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/10.93, allocations: 18.94 kB / 3.809 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/10.93, allocations: 1.182 MB / 3.81 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/10.93, allocations: 0 / 3.81 GB, free: 32.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005766/10.94, allocations: 2.552 MB / 3.813 GB, free: 32.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007542/10.94, allocations: 318.8 kB / 3.813 GB, free: 32.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/10.94, allocations: 9.812 kB / 3.813 GB, free: 32.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00094/10.94, allocations: 77.5 kB / 3.813 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/10.94, allocations: 52.78 kB / 3.813 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.869e-05/10.94, allocations: 26.36 kB / 3.813 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007534/10.94, allocations: 401.6 kB / 3.814 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/10.94, allocations: 0 / 3.814 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00671/10.95, allocations: 1.383 MB / 3.815 GB, free: 32.29 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,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * 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.01121/10.96, allocations: 1.738 MB / 3.817 GB, free: 32.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004993/10.96, allocations: 1.483 MB / 3.818 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/10.96, allocations: 0 / 3.818 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001999/10.96, allocations: 0.8559 MB / 3.819 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/10.97, allocations: 300.1 kB / 3.819 GB, free: 32.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09425/11.06, allocations: 40.75 MB / 3.859 GB, free: 29.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/11.06, allocations: 1.168 MB / 3.86 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003098/11.07, allocations: 0.6412 MB / 3.861 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/11.07, allocations: 62.84 kB / 3.861 GB, free: 28.56 MB / 0.5105 GB Notification: Performance of SimCode: time 3.396e-06/11.07, allocations: 4 kB / 3.861 GB, free: 28.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.1478/11.22, allocations: 45.52 MB / 3.905 GB, free: 472 kB / 0.5105 GB