Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004171/0.00417, allocations: 350 kB / 15.94 MB, free: 6.219 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.76/3.76, allocations: 341.5 MB / 358.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003546/0.003545, allocations: 222.1 kB / 397.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5082/0.5082, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004886, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09711/0.09762, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.715/7.813, allocations: 2.502 GB / 3.109 GB, free: 22.54 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/7.813, allocations: 91.7 kB / 3.109 GB, free: 22.49 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424/10.24, allocations: 409.6 MB / 3.509 GB, free: 44.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.054e-06/10.24, allocations: 0 / 3.509 GB, free: 44.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.482e-05/10.24, allocations: 20.38 kB / 3.509 GB, free: 44.82 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008612/10.25, allocations: 1.792 MB / 3.511 GB, free: 44.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/10.25, allocations: 11.45 kB / 3.511 GB, free: 44.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003769/10.25, allocations: 315.5 kB / 3.511 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/10.25, allocations: 0.5751 MB / 3.512 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-05/10.25, allocations: 45.75 kB / 3.512 GB, free: 43.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/10.25, allocations: 59.48 kB / 3.512 GB, free: 43.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003644/10.26, allocations: 1 MB / 3.513 GB, free: 43.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/10.26, allocations: 1.859 kB / 3.513 GB, free: 43.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/10.26, allocations: 30.08 kB / 3.513 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-05/10.26, allocations: 23.62 kB / 3.513 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/10.26, allocations: 0.9007 MB / 3.514 GB, free: 43.59 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.006368/10.27, allocations: 4.445 MB / 3.518 GB, free: 40.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003743/10.27, allocations: 0.7839 MB / 3.519 GB, free: 40.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/10.27, allocations: 294 kB / 3.519 GB, free: 40.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3029/10.57, allocations: 82.77 MB / 3.6 GB, free: 23.68 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/10.57, allocations: 42.34 kB / 3.6 GB, free: 23.63 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 3.146e-06/10.57, allocations: 0 / 3.6 GB, free: 23.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.01107/10.59, allocations: 2.209 MB / 3.602 GB, free: 23.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/10.59, allocations: 113.3 kB / 3.602 GB, free: 23.08 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000883/10.59, allocations: 484.1 kB / 3.603 GB, free: 22.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002152/10.59, allocations: 38.2 kB / 3.603 GB, free: 22.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000278/10.59, allocations: 343.2 kB / 3.603 GB, free: 22.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/10.59, allocations: 181.5 kB / 3.603 GB, free: 22.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/10.59, allocations: 14.38 kB / 3.603 GB, free: 22.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/10.59, allocations: 358.6 kB / 3.603 GB, free: 22.31 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/10.59, allocations: 269.7 kB / 3.604 GB, free: 22.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/10.59, allocations: 465.3 kB / 3.604 GB, free: 22.08 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/10.59, allocations: 314.3 kB / 3.604 GB, free: 22.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/10.59, allocations: 0 / 3.604 GB, free: 22.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003857/10.59, allocations: 0.9863 MB / 3.605 GB, free: 21.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001792/10.59, allocations: 263 kB / 3.606 GB, free: 21.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/10.59, allocations: 11.86 kB / 3.606 GB, free: 21.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003802/10.6, allocations: 455.7 kB / 3.606 GB, free: 21.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009726/10.6, allocations: 140.8 kB / 3.606 GB, free: 21.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/10.6, allocations: 0.9138 MB / 3.607 GB, free: 21.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/10.6, allocations: 104.9 kB / 3.607 GB, free: 21.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/10.6, allocations: 30.28 kB / 3.607 GB, free: 21.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/10.6, allocations: 7.562 kB / 3.607 GB, free: 21.1 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004039/10.61, allocations: 0.9386 MB / 3.608 GB, free: 21.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/10.61, allocations: 9.844 kB / 3.608 GB, free: 21.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00224/10.61, allocations: 319.8 kB / 3.608 GB, free: 21.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009905/10.61, allocations: 150.1 kB / 3.609 GB, free: 21.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/10.61, allocations: 0.8748 MB / 3.609 GB, free: 20.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/10.61, allocations: 90.88 kB / 3.61 GB, free: 20.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/10.61, allocations: 34.12 kB / 3.61 GB, free: 20.49 MB / 474.7 MB 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.000627/10.61, allocations: 288.8 kB / 3.61 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/10.61, allocations: 59.78 kB / 3.61 GB, free: 20.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005368/10.62, allocations: 2.894 MB / 3.613 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.488e-05/10.62, allocations: 48.38 kB / 3.613 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/10.62, allocations: 1.594 kB / 3.613 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/10.62, allocations: 3.891 kB / 3.613 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006861/10.63, allocations: 4.02 MB / 3.617 GB, free: 19.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/10.63, allocations: 4 kB / 3.617 GB, free: 19.47 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/10.63, allocations: 161.7 kB / 3.617 GB, free: 19.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005336/10.63, allocations: 85.28 kB / 3.617 GB, free: 19.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/10.63, allocations: 24.23 kB / 3.617 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008496/10.63, allocations: 1.176 MB / 3.618 GB, free: 18.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/10.63, allocations: 0 / 3.618 GB, free: 18.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00491/10.63, allocations: 2.556 MB / 3.621 GB, free: 18.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006202/10.64, allocations: 317.9 kB / 3.621 GB, free: 17.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/10.64, allocations: 13.84 kB / 3.621 GB, free: 17.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008805/10.64, allocations: 73 kB / 3.621 GB, free: 17.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/10.64, allocations: 60.56 kB / 3.621 GB, free: 17.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/10.64, allocations: 22.88 kB / 3.621 GB, free: 17.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006955/10.64, allocations: 399.4 kB / 3.622 GB, free: 17.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.553e-06/10.64, allocations: 0 / 3.622 GB, free: 17.74 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006928/10.64, allocations: 1.376 MB / 3.623 GB, free: 17.55 MB / 474.7 MB 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.01084/10.66, allocations: 1.73 MB / 3.625 GB, free: 17.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00491/10.66, allocations: 1.482 MB / 3.626 GB, free: 17.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/10.66, allocations: 2.156 kB / 3.626 GB, free: 17.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001929/10.66, allocations: 0.8534 MB / 3.627 GB, free: 17.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/10.66, allocations: 306.2 kB / 3.627 GB, free: 17.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4379/11.1, allocations: 40.8 MB / 3.667 GB, free: 74.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/11.1, allocations: 1.164 MB / 3.668 GB, free: 73.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001861/11.11, allocations: 0.646 MB / 3.669 GB, free: 73.56 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/11.11, allocations: 63.64 kB / 3.669 GB, free: 73.56 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/11.11, allocations: 0 / 3.669 GB, free: 73.56 MB / 474.7 MB Notification: Performance of Templates: time 0.09709/11.2, allocations: 45.24 MB / 3.713 GB, free: 72.49 MB / 474.7 MB