Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.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.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002666/0.002671, allocations: 349.3 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.447/3.447, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003589/0.003589, allocations: 226.1 kB / 397.9 MB, free: 4.965 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.4797/0.4797, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.000459, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09592, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.695/7.79, allocations: 2.545 GB / 3.151 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/7.791, allocations: 85.44 kB / 3.151 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.159/9.95, allocations: 430.2 MB / 3.572 GB, free: 31 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.505e-06/9.95, allocations: 0 / 3.572 GB, free: 31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001031/9.95, allocations: 22.75 kB / 3.572 GB, free: 31 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.01058/9.96, allocations: 2.204 MB / 3.574 GB, free: 29.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/9.96, allocations: 15.69 kB / 3.574 GB, free: 29.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003983/9.964, allocations: 362.5 kB / 3.574 GB, free: 29.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02509/9.989, allocations: 8.499 MB / 3.582 GB, free: 27.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/9.99, allocations: 66.31 kB / 3.583 GB, free: 27.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/9.99, allocations: 78.02 kB / 3.583 GB, free: 27.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005149/9.995, allocations: 1.493 MB / 3.584 GB, free: 26.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/9.995, allocations: 3.062 kB / 3.584 GB, free: 26.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/9.995, allocations: 34.88 kB / 3.584 GB, free: 26.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/9.995, allocations: 59.31 kB / 3.584 GB, free: 26.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005508/10, allocations: 1.337 MB / 3.585 GB, free: 26.28 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.01223/10.01, allocations: 6.543 MB / 3.592 GB, free: 21.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004422/10.02, allocations: 1.025 MB / 3.593 GB, free: 20.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/10.02, allocations: 473.8 kB / 3.593 GB, free: 20.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09969/10.12, allocations: 31.93 MB / 3.624 GB, free: 12.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.957e-05/10.12, allocations: 39.12 kB / 3.625 GB, free: 12.76 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 3.667e-06/10.12, allocations: 4 kB / 3.625 GB, free: 12.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=61): time 0.01464/10.13, allocations: 3.355 MB / 3.628 GB, free: 9.832 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/10.13, allocations: 200.1 kB / 3.628 GB, free: 9.598 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/10.14, allocations: 0.7219 MB / 3.629 GB, free: 8.977 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001937/10.14, allocations: 37.7 kB / 3.629 GB, free: 8.934 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004494/10.14, allocations: 414.7 kB / 3.629 GB, free: 8.562 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/10.14, allocations: 211 kB / 3.629 GB, free: 8.375 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/10.14, allocations: 12 kB / 3.629 GB, free: 8.363 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002374/10.14, allocations: 393.8 kB / 3.63 GB, free: 7.996 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/10.14, allocations: 421.7 kB / 3.63 GB, free: 7.652 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/10.14, allocations: 0.6296 MB / 3.631 GB, free: 7.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/10.14, allocations: 488.6 kB / 3.631 GB, free: 6.605 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/10.14, allocations: 0 / 3.631 GB, free: 6.605 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.005027/10.15, allocations: 1.366 MB / 3.633 GB, free: 5.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002664/10.15, allocations: 263.8 kB / 3.633 GB, free: 5.074 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/10.15, allocations: 12 kB / 3.633 GB, free: 5.062 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005508/10.15, allocations: 0.6639 MB / 3.633 GB, free: 4.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/10.15, allocations: 161 kB / 3.634 GB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/10.16, allocations: 1.314 MB / 3.635 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/10.16, allocations: 103.8 kB / 3.635 GB, free: 3.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/10.16, allocations: 43.52 kB / 3.635 GB, free: 3.121 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/10.16, allocations: 4 kB / 3.635 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005034/10.16, allocations: 1.222 MB / 3.636 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/10.16, allocations: 8.031 kB / 3.636 GB, free: 2.043 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003248/10.17, allocations: 440.5 kB / 3.637 GB, free: 1.613 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/10.17, allocations: 163.8 kB / 3.637 GB, free: 1.453 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/10.17, allocations: 1.115 MB / 3.638 GB, free: 320 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/10.17, allocations: 103.8 kB / 3.638 GB, free: 216 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/10.17, allocations: 39.98 kB / 3.638 GB, free: 176 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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 23} Notification: Performance of prepare postOptimizeDAE: time 0.3784/10.55, allocations: 365.3 kB / 3.638 GB, free: 51.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003563/10.55, allocations: 82.94 kB / 3.638 GB, free: 51.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007102/10.56, allocations: 3.352 MB / 3.642 GB, free: 51.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.885e-05/10.56, allocations: 34.03 kB / 3.642 GB, free: 51.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/10.56, allocations: 1.062 kB / 3.642 GB, free: 51.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00574/10.57, allocations: 2.799 MB / 3.644 GB, free: 50.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009165/10.57, allocations: 4.599 MB / 3.649 GB, free: 50.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/10.57, allocations: 4.719 kB / 3.649 GB, free: 50.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/10.58, allocations: 179.1 kB / 3.649 GB, free: 50.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006329/10.58, allocations: 103 kB / 3.649 GB, free: 50.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.597e-05/10.58, allocations: 21.33 kB / 3.649 GB, free: 50.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005111/10.58, allocations: 0.6424 MB / 3.65 GB, free: 50.06 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/10.58, allocations: 0 / 3.65 GB, free: 50.06 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006097/10.58, allocations: 2.935 MB / 3.653 GB, free: 49.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009693/10.58, allocations: 449.8 kB / 3.653 GB, free: 49.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002501/10.58, allocations: 23.34 kB / 3.653 GB, free: 49.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/10.59, allocations: 86.17 kB / 3.653 GB, free: 49.44 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/10.59, allocations: 64.45 kB / 3.653 GB, free: 49.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.108e-05/10.59, allocations: 28.58 kB / 3.653 GB, free: 49.44 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00151/10.59, allocations: 0.798 MB / 3.654 GB, free: 49.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/10.59, allocations: 0 / 3.654 GB, free: 49.33 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008265/10.6, allocations: 1.678 MB / 3.656 GB, free: 49.33 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 65 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.01213/10.61, allocations: 1.882 MB / 3.658 GB, free: 49.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00572/10.61, allocations: 1.868 MB / 3.659 GB, free: 49.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/10.61, allocations: 3.781 kB / 3.659 GB, free: 49.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002035/10.62, allocations: 0.9014 MB / 3.66 GB, free: 49.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004546/10.62, allocations: 478.8 kB / 3.661 GB, free: 49.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006784/10.63, allocations: 3.744 MB / 3.664 GB, free: 47.65 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009891/10.63, allocations: 1.341 MB / 3.666 GB, free: 46.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002797/10.63, allocations: 0.9026 MB / 3.667 GB, free: 46.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/10.63, allocations: 81.53 kB / 3.667 GB, free: 46.92 MB / 458.7 MB Notification: Performance of SimCode: time 1.253e-06/10.63, allocations: 0 / 3.667 GB, free: 46.92 MB / 458.7 MB Notification: Performance of Templates: time 0.1136/10.75, allocations: 53.47 MB / 3.719 GB, free: 45.18 MB / 458.7 MB