Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.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.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002878/0.002877, allocations: 363.1 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 3.897/3.897, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003544/0.003543, allocations: 242 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.5192/0.5192, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004791, allocations: 19.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.621/8.727, allocations: 2.655 GB / 3.335 GB, free: 102.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/8.728, allocations: 89.12 kB / 3.335 GB, free: 102.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.372/11.1, allocations: 438 MB / 3.763 GB, free: 50.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.983e-06/11.1, allocations: 0 / 3.763 GB, free: 50.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.604e-05/11.1, allocations: 26.36 kB / 3.763 GB, free: 50.32 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.01038/11.11, allocations: 2.259 MB / 3.765 GB, free: 49.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/11.11, allocations: 7.188 kB / 3.765 GB, free: 49.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003902/11.11, allocations: 375.3 kB / 3.766 GB, free: 49.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02375/11.14, allocations: 8.582 MB / 3.774 GB, free: 48.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/11.14, allocations: 67.94 kB / 3.774 GB, free: 48.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/11.14, allocations: 71.59 kB / 3.774 GB, free: 48.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004931/11.14, allocations: 1.493 MB / 3.776 GB, free: 48.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/11.14, allocations: 1.969 kB / 3.776 GB, free: 48.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/11.14, allocations: 34.23 kB / 3.776 GB, free: 48.55 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/11.14, allocations: 56.89 kB / 3.776 GB, free: 48.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005317/11.15, allocations: 1.34 MB / 3.777 GB, free: 48.54 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.01185/11.16, allocations: 6.544 MB / 3.783 GB, free: 43.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/11.17, allocations: 1.027 MB / 3.784 GB, free: 43.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/11.17, allocations: 458.2 kB / 3.785 GB, free: 43.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09733/11.26, allocations: 32.02 MB / 3.816 GB, free: 22.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/11.26, allocations: 47.03 kB / 3.816 GB, free: 22.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 2.735e-06/11.26, allocations: 0 / 3.816 GB, free: 22.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.01391/11.28, allocations: 3.341 MB / 3.82 GB, free: 21.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/11.28, allocations: 188 kB / 3.82 GB, free: 20.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/11.28, allocations: 0.7306 MB / 3.82 GB, free: 20.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002107/11.28, allocations: 37.36 kB / 3.82 GB, free: 20.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/11.28, allocations: 405.5 kB / 3.821 GB, free: 20.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/11.28, allocations: 221.3 kB / 3.821 GB, free: 19.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/11.28, allocations: 11.59 kB / 3.821 GB, free: 19.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/11.28, allocations: 398.1 kB / 3.821 GB, free: 19.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/11.28, allocations: 419.9 kB / 3.822 GB, free: 19.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/11.28, allocations: 0.6246 MB / 3.822 GB, free: 19.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/11.29, allocations: 491.5 kB / 3.823 GB, free: 18.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/11.29, allocations: 3.781 kB / 3.823 GB, free: 18.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004351/11.29, allocations: 1.361 MB / 3.824 GB, free: 18.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/11.29, allocations: 266.3 kB / 3.824 GB, free: 18.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/11.29, allocations: 8.438 kB / 3.824 GB, free: 18.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005408/11.3, allocations: 0.6733 MB / 3.825 GB, free: 17.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/11.3, allocations: 170.4 kB / 3.825 GB, free: 17.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/11.3, allocations: 1.298 MB / 3.827 GB, free: 17.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/11.3, allocations: 105.1 kB / 3.827 GB, free: 17.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/11.3, allocations: 48.41 kB / 3.827 GB, free: 17.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/11.3, allocations: 4.531 kB / 3.827 GB, free: 17.12 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004351/11.31, allocations: 1.227 MB / 3.828 GB, free: 16.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/11.31, allocations: 10.56 kB / 3.828 GB, free: 16.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003007/11.31, allocations: 432.1 kB / 3.828 GB, free: 16.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/11.31, allocations: 164.4 kB / 3.829 GB, free: 16.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/11.31, allocations: 1.117 MB / 3.83 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/11.31, allocations: 102.5 kB / 3.83 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/11.31, allocations: 38.69 kB / 3.83 GB, free: 15.83 MB / 490.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.0007479/11.31, allocations: 367.9 kB / 3.83 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/11.31, allocations: 85.94 kB / 3.83 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006316/11.32, allocations: 3.337 MB / 3.833 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.914e-05/11.32, allocations: 43.11 kB / 3.833 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/11.32, allocations: 3.938 kB / 3.833 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004911/11.33, allocations: 2.796 MB / 3.836 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008762/11.33, allocations: 4.602 MB / 3.841 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/11.33, allocations: 0 / 3.841 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/11.34, allocations: 178.6 kB / 3.841 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006216/11.34, allocations: 97.44 kB / 3.841 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.963e-05/11.34, allocations: 23.28 kB / 3.841 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004621/11.34, allocations: 0.6454 MB / 3.842 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/11.34, allocations: 3.953 kB / 3.842 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005831/11.34, allocations: 2.93 MB / 3.844 GB, free: 7.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009707/11.34, allocations: 464 kB / 3.845 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/11.34, allocations: 16 kB / 3.845 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/11.35, allocations: 87.17 kB / 3.845 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/11.35, allocations: 70.58 kB / 3.845 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.344e-05/11.35, allocations: 20 kB / 3.845 GB, free: 7.445 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001483/11.35, allocations: 0.7982 MB / 3.846 GB, free: 6.762 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/11.35, allocations: 0 / 3.846 GB, free: 6.762 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007654/11.36, allocations: 1.68 MB / 3.848 GB, free: 5.117 MB / 490.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.01163/11.37, allocations: 1.891 MB / 3.849 GB, free: 3.641 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005601/11.37, allocations: 1.871 MB / 3.851 GB, free: 2.035 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/11.37, allocations: 0 / 3.851 GB, free: 2.035 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002003/11.37, allocations: 0.8944 MB / 3.852 GB, free: 1.242 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004652/11.38, allocations: 490.7 kB / 3.853 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007453/11.39, allocations: 3.738 MB / 3.856 GB, free: 13.48 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/11.39, allocations: 1.355 MB / 3.858 GB, free: 12.32 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.002763/11.39, allocations: 0.8997 MB / 3.858 GB, free: 11.77 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/11.39, allocations: 94.5 kB / 3.858 GB, free: 11.69 MB / 0.4949 GB Notification: Performance of SimCode: time 1.562e-06/11.39, allocations: 0 / 3.858 GB, free: 11.69 MB / 0.4949 GB Notification: Performance of Templates: time 0.49/11.88, allocations: 53.69 MB / 3.911 GB, free: 60.64 MB / 0.4949 GB