Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002933/0.00294, allocations: 350.7 kB / 15.94 MB, free: 6.215 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.55 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.005867/0.005867, allocations: 218.2 kB / 397.8 MB, free: 4.91 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.4818/0.4818, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004802, allocations: 16 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/0.09723, allocations: 48.69 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.812/7.909, allocations: 2.502 GB / 3.109 GB, free: 22.55 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/7.909, allocations: 88.27 kB / 3.109 GB, free: 22.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.51/10.42, allocations: 409.8 MB / 3.509 GB, free: 45.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.845e-06/10.42, allocations: 1.219 kB / 3.509 GB, free: 45.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.365e-05/10.42, allocations: 14.94 kB / 3.509 GB, free: 45.07 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.009717/10.43, allocations: 1.788 MB / 3.511 GB, free: 44.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/10.43, allocations: 10.38 kB / 3.511 GB, free: 44.31 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00406/10.43, allocations: 310 kB / 3.511 GB, free: 44.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/10.44, allocations: 0.5858 MB / 3.512 GB, free: 44.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-05/10.44, allocations: 52.17 kB / 3.512 GB, free: 44.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/10.44, allocations: 58.81 kB / 3.512 GB, free: 44.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004139/10.44, allocations: 0.9921 MB / 3.513 GB, free: 43.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/10.44, allocations: 0 / 3.513 GB, free: 43.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/10.44, allocations: 24.5 kB / 3.513 GB, free: 43.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/10.44, allocations: 25.44 kB / 3.513 GB, free: 43.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/10.44, allocations: 0.907 MB / 3.514 GB, free: 43.85 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.00725/10.45, allocations: 4.33 MB / 3.518 GB, free: 40.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/10.46, allocations: 0.7535 MB / 3.519 GB, free: 40.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/10.46, allocations: 271 kB / 3.519 GB, free: 40.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2942/10.75, allocations: 78.97 MB / 3.596 GB, free: 28.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.473e-05/10.75, allocations: 40.62 kB / 3.596 GB, free: 28.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/10.75, allocations: 4 kB / 3.596 GB, free: 28.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.0114/10.76, allocations: 2.292 MB / 3.598 GB, free: 28.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/10.76, allocations: 110.6 kB / 3.599 GB, free: 27.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/10.76, allocations: 487.2 kB / 3.599 GB, free: 27.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/10.76, allocations: 37.45 kB / 3.599 GB, free: 27.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/10.76, allocations: 338.9 kB / 3.599 GB, free: 27.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/10.76, allocations: 184.8 kB / 3.6 GB, free: 27.47 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/10.76, allocations: 11.78 kB / 3.6 GB, free: 27.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002048/10.76, allocations: 365.5 kB / 3.6 GB, free: 27.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/10.77, allocations: 255.5 kB / 3.6 GB, free: 27.15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/10.77, allocations: 465.2 kB / 3.601 GB, free: 26.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/10.77, allocations: 309.4 kB / 3.601 GB, free: 26.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/10.77, allocations: 0 / 3.601 GB, free: 26.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004177/10.77, allocations: 1.015 MB / 3.602 GB, free: 26.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002026/10.77, allocations: 276.4 kB / 3.602 GB, free: 26.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/10.77, allocations: 7.219 kB / 3.602 GB, free: 26.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003872/10.78, allocations: 477.7 kB / 3.603 GB, free: 26.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009536/10.78, allocations: 142.3 kB / 3.603 GB, free: 26.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/10.78, allocations: 0.9281 MB / 3.604 GB, free: 25.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/10.78, allocations: 99.53 kB / 3.604 GB, free: 25.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.723e-05/10.78, allocations: 32.53 kB / 3.604 GB, free: 25.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/10.78, allocations: 2.594 kB / 3.604 GB, free: 25.91 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003345/10.78, allocations: 0.8716 MB / 3.605 GB, free: 25.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/10.78, allocations: 7.547 kB / 3.605 GB, free: 25.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/10.79, allocations: 321.9 kB / 3.605 GB, free: 25.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/10.79, allocations: 148.6 kB / 3.605 GB, free: 25.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/10.79, allocations: 0.8559 MB / 3.606 GB, free: 25.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/10.79, allocations: 98.84 kB / 3.606 GB, free: 25.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/10.79, allocations: 31.08 kB / 3.606 GB, free: 25.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006825/10.79, allocations: 293.3 kB / 3.606 GB, free: 25.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/10.79, allocations: 62.16 kB / 3.606 GB, free: 25.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005142/10.8, allocations: 2.739 MB / 3.609 GB, free: 24.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.481e-05/10.8, allocations: 34.92 kB / 3.609 GB, free: 24.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/10.8, allocations: 2.188 kB / 3.609 GB, free: 24.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/10.8, allocations: 3.375 kB / 3.609 GB, free: 24.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006949/10.8, allocations: 3.741 MB / 3.613 GB, free: 24.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/10.8, allocations: 2.906 kB / 3.613 GB, free: 24.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/10.81, allocations: 151.7 kB / 3.613 GB, free: 24.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006627/10.81, allocations: 105.9 kB / 3.613 GB, free: 24.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/10.81, allocations: 20.83 kB / 3.613 GB, free: 24.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/10.81, allocations: 1.127 MB / 3.614 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/10.81, allocations: 4.188 kB / 3.614 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004921/10.81, allocations: 2.266 MB / 3.616 GB, free: 22.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007749/10.81, allocations: 345.3 kB / 3.617 GB, free: 22.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/10.81, allocations: 14.59 kB / 3.617 GB, free: 22.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008738/10.81, allocations: 63.03 kB / 3.617 GB, free: 22.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/10.81, allocations: 52.88 kB / 3.617 GB, free: 22.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/10.81, allocations: 21.81 kB / 3.617 GB, free: 22.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000898/10.82, allocations: 460.9 kB / 3.617 GB, free: 22.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.61e-07/10.82, allocations: 0 / 3.617 GB, free: 22.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007673/10.82, allocations: 1.385 MB / 3.619 GB, free: 22.41 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01266/10.84, allocations: 1.717 MB / 3.62 GB, free: 22.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004786/10.84, allocations: 1.398 MB / 3.622 GB, free: 21.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/10.84, allocations: 0 / 3.622 GB, free: 21.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001803/10.84, allocations: 0.7399 MB / 3.622 GB, free: 21.96 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/10.85, allocations: 305 kB / 3.623 GB, free: 21.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5606/11.41, allocations: 76.74 MB / 3.698 GB, free: 74.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/11.41, allocations: 1.154 MB / 3.699 GB, free: 73.69 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001913/11.41, allocations: 0.6146 MB / 3.699 GB, free: 73.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/11.41, allocations: 64.42 kB / 3.699 GB, free: 73.68 MB / 474.7 MB Notification: Performance of SimCode: time 1.694e-06/11.41, allocations: 0 / 3.699 GB, free: 73.68 MB / 474.7 MB Notification: Performance of Templates: time 0.1002/11.51, allocations: 45.06 MB / 3.743 GB, free: 71.59 MB / 474.7 MB