Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues.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.TestOverdeterminedInitial.DynamicPipeInitialValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|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.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002691/0.00269, allocations: 348.5 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.163/3.163, allocations: 341.5 MB / 358.2 MB, free: 28.61 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003511/0.003512, allocations: 216.6 kB / 397.8 MB, free: 6.008 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4867/0.4867, allocations: 76.09 MB / 0.5014 GB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000649/0.0006493, allocations: 12 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09393, allocations: 48.69 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.88/7.974, allocations: 2.553 GB / 3.16 GB, free: 34.01 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/7.974, allocations: 83.95 kB / 3.16 GB, free: 33.97 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765/10.74, allocations: 462.2 MB / 3.611 GB, free: 37.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.966e-06/10.74, allocations: 3.406 kB / 3.611 GB, free: 37.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002403/10.74, allocations: 41.89 kB / 3.612 GB, free: 37.17 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.02126/10.76, allocations: 3.041 MB / 3.614 GB, free: 35.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/10.76, allocations: 7.875 kB / 3.614 GB, free: 35.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/10.77, allocations: 0.6522 MB / 3.615 GB, free: 35.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06533/10.84, allocations: 15.81 MB / 3.631 GB, free: 33.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004241/10.84, allocations: 161.8 kB / 3.631 GB, free: 33.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/10.84, allocations: 164.7 kB / 3.631 GB, free: 33.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/10.85, allocations: 3.375 MB / 3.634 GB, free: 32.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.779e-05/10.85, allocations: 3.969 kB / 3.634 GB, free: 32.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003845/10.86, allocations: 72.62 kB / 3.634 GB, free: 32.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002247/10.86, allocations: 162.9 kB / 3.634 GB, free: 32.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0128/10.87, allocations: 3.275 MB / 3.638 GB, free: 31.3 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.02751/10.9, allocations: 13.33 MB / 3.651 GB, free: 21.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008559/10.9, allocations: 2.186 MB / 3.653 GB, free: 20.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003463/10.91, allocations: 1.11 MB / 3.654 GB, free: 20.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2921/11.2, allocations: 61.64 MB / 3.714 GB, free: 6.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01066/11.21, allocations: 1.637 MB / 3.716 GB, free: 5.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=143): time 8.867e-06/11.21, allocations: 0 / 3.716 GB, free: 5.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.4483/11.66, allocations: 10.69 MB / 3.726 GB, free: 67.51 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/11.66, allocations: 335 kB / 3.726 GB, free: 67.13 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004566/11.66, allocations: 1.236 MB / 3.728 GB, free: 66.97 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000699/11.66, allocations: 56.33 kB / 3.728 GB, free: 66.94 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/11.67, allocations: 0.7929 MB / 3.728 GB, free: 66.63 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00138/11.67, allocations: 0.5633 MB / 3.729 GB, free: 66.35 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004217/11.67, allocations: 39.53 kB / 3.729 GB, free: 66.35 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002761/11.67, allocations: 388.8 kB / 3.729 GB, free: 66.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006592/11.68, allocations: 1.188 MB / 3.731 GB, free: 66.04 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007278/11.68, allocations: 1.755 MB / 3.732 GB, free: 65.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.39/21.07, allocations: 0.7374 GB / 4.47 GB, free: 82.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-05/21.07, allocations: 3.344 kB / 4.47 GB, free: 82.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01186/21.08, allocations: 3.454 MB / 4.473 GB, free: 82.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004338/21.08, allocations: 0.5738 MB / 4.474 GB, free: 81.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/21.08, allocations: 16.66 kB / 4.474 GB, free: 81.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/21.09, allocations: 467.6 kB / 4.474 GB, free: 81.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/21.09, allocations: 0.5138 MB / 4.475 GB, free: 81.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/21.09, allocations: 3.314 MB / 4.478 GB, free: 79.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004018/21.1, allocations: 255 kB / 4.478 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006064/21.1, allocations: 103.6 kB / 4.478 GB, free: 79.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/21.1, allocations: 3.906 kB / 4.478 GB, free: 79.05 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01073/21.11, allocations: 3.185 MB / 4.481 GB, free: 78.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.497e-05/21.11, allocations: 17.19 kB / 4.481 GB, free: 78.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/21.11, allocations: 463.2 kB / 4.482 GB, free: 78.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004166/21.12, allocations: 0.5082 MB / 4.482 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/21.12, allocations: 3.315 MB / 4.485 GB, free: 76.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/21.12, allocations: 249.8 kB / 4.486 GB, free: 76.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003397/21.12, allocations: 101.6 kB / 4.486 GB, free: 76.28 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: pipe.mediums[1].p = 10000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 16 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,pipe.state_a.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 239 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001831/21.13, allocations: 0.6844 MB / 4.486 GB, free: 76.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005245/21.13, allocations: 159 kB / 4.487 GB, free: 76.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/21.14, allocations: 6.651 MB / 4.493 GB, free: 74.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.527e-05/21.14, allocations: 66.81 kB / 4.493 GB, free: 74.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/21.14, allocations: 6.25 kB / 4.493 GB, free: 74.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01089/21.15, allocations: 5.223 MB / 4.498 GB, free: 71.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02038/21.17, allocations: 9.108 MB / 4.507 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.93e-05/21.17, allocations: 0 / 4.507 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003391/21.18, allocations: 406.3 kB / 4.508 GB, free: 66.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003388/21.18, allocations: 0.5561 MB / 4.508 GB, free: 66.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005026/21.18, allocations: 66.38 kB / 4.508 GB, free: 66.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/21.18, allocations: 3.397 MB / 4.511 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/21.18, allocations: 8.094 kB / 4.511 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/21.2, allocations: 6.689 MB / 4.518 GB, free: 59.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00225/21.2, allocations: 0.772 MB / 4.519 GB, free: 59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008883/21.2, allocations: 48.58 kB / 4.519 GB, free: 58.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00336/21.2, allocations: 202.2 kB / 4.519 GB, free: 58.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008099/21.21, allocations: 173 kB / 4.519 GB, free: 58.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002462/21.21, allocations: 64.2 kB / 4.519 GB, free: 58.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002645/21.21, allocations: 1.181 MB / 4.52 GB, free: 58.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/21.21, allocations: 4 kB / 4.52 GB, free: 58.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01178/21.22, allocations: 2.224 MB / 4.523 GB, free: 56.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (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: 36 ($cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$whenCondition1,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].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 (180): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01299/21.23, allocations: 1.919 MB / 4.524 GB, free: 55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0157/21.25, allocations: 5.007 MB / 4.529 GB, free: 52.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/21.25, allocations: 6.75 kB / 4.529 GB, free: 52.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006149/21.26, allocations: 2.251 MB / 4.532 GB, free: 51.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007616/21.26, allocations: 0.7501 MB / 4.532 GB, free: 50.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4911/21.75, allocations: 57.08 MB / 4.588 GB, free: 78.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002734/21.76, allocations: 2.01 MB / 4.59 GB, free: 77.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007442/21.76, allocations: 2.251 MB / 4.592 GB, free: 77.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/21.77, allocations: 164.6 kB / 4.592 GB, free: 77.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.713e-06/21.77, allocations: 0 / 4.592 GB, free: 77.38 MB / 490.7 MB Notification: Performance of Templates: time 0.1551/21.92, allocations: 70.24 MB / 4.661 GB, free: 74.03 MB / 490.7 MB