Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.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.DynamicPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|pipe.mediums.3..h|pipe.mediums.3..p|pipe.mediums.4..h|pipe.mediums.4..p|pipe.mediums.5..h|pipe.mediums.5..p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002881/0.00288, allocations: 363.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.024/4.024, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.003615/0.003615, allocations: 232.1 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.516/0.516, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004831, allocations: 8.812 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1056, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.476/8.581, allocations: 2.664 GB / 3.344 GB, free: 110.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/8.581, allocations: 84.02 kB / 3.344 GB, free: 110.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564/11.15, allocations: 473 MB / 3.806 GB, free: 38.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/11.15, allocations: 0 / 3.806 GB, free: 38.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001813/11.15, allocations: 42.84 kB / 3.806 GB, free: 38.76 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01612/11.16, allocations: 3.182 MB / 3.809 GB, free: 37.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/11.16, allocations: 11.75 kB / 3.809 GB, free: 37.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007543/11.17, allocations: 0.7055 MB / 3.81 GB, free: 36.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04467/11.21, allocations: 15.76 MB / 3.825 GB, free: 32.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/11.21, allocations: 167.7 kB / 3.825 GB, free: 32.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/11.22, allocations: 177.3 kB / 3.825 GB, free: 32.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/11.23, allocations: 3.599 MB / 3.829 GB, free: 31.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-05/11.23, allocations: 9.562 kB / 3.829 GB, free: 31.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006105/11.23, allocations: 73.09 kB / 3.829 GB, free: 31.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002461/11.23, allocations: 172.9 kB / 3.829 GB, free: 31.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/11.24, allocations: 3.514 MB / 3.833 GB, free: 30.2 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.02959/11.27, allocations: 14.1 MB / 3.846 GB, free: 17.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00984/11.28, allocations: 2.278 MB / 3.849 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003778/11.29, allocations: 1.201 MB / 3.85 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5809/11.87, allocations: 63.41 MB / 3.912 GB, free: 37.52 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007614/11.88, allocations: 1.733 MB / 3.913 GB, free: 37.41 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=154): time 6.361e-06/11.88, allocations: 0 / 3.913 GB, free: 37.41 MB / 0.4949 GB Notification: Performance of matching and sorting (n=174): time 0.03819/11.91, allocations: 9.454 MB / 3.923 GB, free: 36.04 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/11.91, allocations: 283.8 kB / 3.923 GB, free: 35.72 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/11.92, allocations: 1.323 MB / 3.924 GB, free: 35.56 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005718/11.92, allocations: 55.08 kB / 3.924 GB, free: 35.53 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008279/11.92, allocations: 0.8223 MB / 3.925 GB, free: 35.21 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001069/11.92, allocations: 0.6033 MB / 3.926 GB, free: 34.92 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/11.92, allocations: 46.12 kB / 3.926 GB, free: 34.92 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001869/11.92, allocations: 390.5 kB / 3.926 GB, free: 34.61 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004545/11.92, allocations: 1.286 MB / 3.927 GB, free: 34.61 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005165/11.93, allocations: 1.835 MB / 3.929 GB, free: 33.99 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005431/11.94, allocations: 1.514 MB / 3.931 GB, free: 33.97 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.138e-05/11.94, allocations: 6.75 kB / 3.931 GB, free: 33.97 MB / 0.4949 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.01509/11.95, allocations: 4.332 MB / 3.935 GB, free: 33.8 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003786/11.95, allocations: 0.5545 MB / 3.935 GB, free: 33.14 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/11.95, allocations: 22.16 kB / 3.935 GB, free: 33.14 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02778/11.98, allocations: 3.651 MB / 3.939 GB, free: 33.11 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/11.98, allocations: 334.6 kB / 3.939 GB, free: 33.11 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/11.99, allocations: 4.054 MB / 3.943 GB, free: 32.53 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004336/12, allocations: 276.3 kB / 3.944 GB, free: 32.52 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008019/12, allocations: 103.4 kB / 3.944 GB, free: 32.52 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/12, allocations: 3.375 kB / 3.944 GB, free: 32.52 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01439/12.01, allocations: 3.944 MB / 3.947 GB, free: 32.46 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.714e-05/12.01, allocations: 16.84 kB / 3.948 GB, free: 32.46 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/12.03, allocations: 2.431 MB / 3.95 GB, free: 32.43 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/12.03, allocations: 370 kB / 3.95 GB, free: 32.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008773/12.04, allocations: 3.342 MB / 3.953 GB, free: 31.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/12.05, allocations: 269.5 kB / 3.954 GB, free: 31.84 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006433/12.05, allocations: 106.3 kB / 3.954 GB, free: 31.84 MB / 0.4949 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,sink.state.phase,sink.medium.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 (166): * Single equations (assignments): 165 * 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 {14 91} Notification: Performance of prepare postOptimizeDAE: time 0.002222/12.05, allocations: 0.6878 MB / 3.955 GB, free: 31.66 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006097/12.05, allocations: 165.7 kB / 3.955 GB, free: 31.57 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/12.07, allocations: 6.859 MB / 3.961 GB, free: 31.1 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/12.07, allocations: 73.41 kB / 3.961 GB, free: 31.1 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/12.07, allocations: 4.5 kB / 3.961 GB, free: 31.1 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01221/12.08, allocations: 5.502 MB / 3.967 GB, free: 30.39 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02197/12.1, allocations: 9.564 MB / 3.976 GB, free: 29.78 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-05/12.1, allocations: 0 / 3.976 GB, free: 29.78 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003818/12.1, allocations: 441.8 kB / 3.977 GB, free: 29.78 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002939/12.11, allocations: 473.9 kB / 3.977 GB, free: 29.73 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005779/12.11, allocations: 63.12 kB / 3.977 GB, free: 29.73 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/12.11, allocations: 3.218 MB / 3.98 GB, free: 27.14 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/12.11, allocations: 7.031 kB / 3.98 GB, free: 27.14 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/12.13, allocations: 7.051 MB / 3.987 GB, free: 25.71 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00232/12.13, allocations: 0.7708 MB / 3.988 GB, free: 25.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007768/12.13, allocations: 53.34 kB / 3.988 GB, free: 25.22 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003341/12.13, allocations: 211.8 kB / 3.988 GB, free: 25.18 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006306/12.13, allocations: 179.2 kB / 3.988 GB, free: 25.16 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002472/12.13, allocations: 76.5 kB / 3.988 GB, free: 25.15 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002835/12.14, allocations: 1.238 MB / 3.99 GB, free: 24.68 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.435e-06/12.14, allocations: 0 / 3.99 GB, free: 24.68 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01256/12.15, allocations: 2.302 MB / 3.992 GB, free: 24.45 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 39 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.region3boundary,$cse17.region3boundary,$cse18.phase,$cse18.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$whenCondition2,$whenCondition1,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01266/12.16, allocations: 1.934 MB / 3.994 GB, free: 24.16 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01745/12.18, allocations: 5.495 MB / 3.999 GB, free: 22.42 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/12.18, allocations: 0 / 3.999 GB, free: 22.42 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006266/12.19, allocations: 2.363 MB / 4.001 GB, free: 21.52 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01348/12.2, allocations: 0.818 MB / 4.002 GB, free: 21.29 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/12.22, allocations: 8.147 MB / 4.01 GB, free: 16.95 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/12.22, allocations: 2.058 MB / 4.012 GB, free: 16.07 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.005626/12.22, allocations: 1.454 MB / 4.014 GB, free: 15.91 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/12.23, allocations: 153.1 kB / 4.014 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of SimCode: time 1.222e-06/12.23, allocations: 0 / 4.014 GB, free: 15.77 MB / 0.4949 GB Notification: Performance of Templates: time 0.5695/12.8, allocations: 84.15 MB / 4.096 GB, free: 68.78 MB / 0.5105 GB