Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.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.DynamicPipeLumpedPressureInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.3..h|pipe.mediums.4..h|pipe.mediums.5..h|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002922/0.002927, allocations: 350 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.551/3.551, 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.004856/0.004855, allocations: 222.1 kB / 397.9 MB, free: 4.898 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.6056/0.6056, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005025, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09264, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.195/8.288, allocations: 2.553 GB / 3.16 GB, free: 92.38 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/8.288, allocations: 91.14 kB / 3.16 GB, free: 92.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.251/10.54, allocations: 458.5 MB / 3.608 GB, free: 21.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.076e-06/10.54, allocations: 0 / 3.608 GB, free: 21.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001986/10.54, allocations: 37.72 kB / 3.608 GB, free: 21.06 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.01526/10.55, allocations: 3.032 MB / 3.611 GB, free: 17.99 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/10.55, allocations: 8.031 kB / 3.611 GB, free: 17.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006564/10.56, allocations: 0.5614 MB / 3.611 GB, free: 17.42 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04311/10.6, allocations: 15.78 MB / 3.627 GB, free: 3.344 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/10.6, allocations: 130.3 kB / 3.627 GB, free: 3.219 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006035/10.6, allocations: 142.7 kB / 3.627 GB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3755/10.98, allocations: 2.744 MB / 3.63 GB, free: 34.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.287e-05/10.98, allocations: 10.38 kB / 3.63 GB, free: 34.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003277/10.98, allocations: 57.84 kB / 3.63 GB, free: 34.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000191/10.98, allocations: 116.4 kB / 3.63 GB, free: 34.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/10.99, allocations: 2.687 MB / 3.633 GB, free: 34.38 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.02197/11.01, allocations: 10.9 MB / 3.643 GB, free: 28.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007574/11.02, allocations: 1.823 MB / 3.645 GB, free: 27.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003116/11.03, allocations: 0.9671 MB / 3.646 GB, free: 27.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2271/11.25, allocations: 61.63 MB / 3.706 GB, free: 25.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006089/11.26, allocations: 1.426 MB / 3.708 GB, free: 25.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=127): time 4.719e-06/11.26, allocations: 0 / 3.708 GB, free: 25.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=151): time 0.03476/11.29, allocations: 8.352 MB / 3.716 GB, free: 24.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/11.29, allocations: 280.3 kB / 3.716 GB, free: 23.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/11.3, allocations: 0.9988 MB / 3.717 GB, free: 23.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005129/11.3, allocations: 58.98 kB / 3.717 GB, free: 23.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007777/11.3, allocations: 0.6603 MB / 3.718 GB, free: 23.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000881/11.3, allocations: 0.52 MB / 3.718 GB, free: 23.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/11.3, allocations: 38.41 kB / 3.718 GB, free: 23.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002249/11.3, allocations: 377.1 kB / 3.719 GB, free: 22.92 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003406/11.3, allocations: 1.013 MB / 3.72 GB, free: 22.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003953/11.31, allocations: 1.513 MB / 3.721 GB, free: 22.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.377/18.68, allocations: 0.5694 GB / 4.29 GB, free: 24.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/18.68, allocations: 4 kB / 4.29 GB, free: 24.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.0171/18.7, allocations: 3.431 MB / 4.294 GB, free: 22.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000491/18.7, allocations: 0.5092 MB / 4.294 GB, free: 22.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.93e-05/18.7, allocations: 12 kB / 4.294 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03177/18.73, allocations: 2.579 MB / 4.297 GB, free: 19.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/18.74, allocations: 280.8 kB / 4.297 GB, free: 19.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/18.75, allocations: 3.265 MB / 4.3 GB, free: 17.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005003/18.75, allocations: 216.3 kB / 4.301 GB, free: 16.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006821/18.76, allocations: 90.8 kB / 4.301 GB, free: 16.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/18.76, allocations: 7.594 kB / 4.301 GB, free: 16.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01692/18.77, allocations: 3.242 MB / 4.304 GB, free: 14.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.088e-05/18.77, allocations: 16 kB / 4.304 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02136/18.79, allocations: 2.007 MB / 4.306 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/18.8, allocations: 299.2 kB / 4.306 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/18.81, allocations: 2.983 MB / 4.309 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004665/18.81, allocations: 215.1 kB / 4.309 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007895/18.81, allocations: 86.42 kB / 4.309 GB, free: 10.22 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 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe.mediums[2].p = 0.0 $DER.pipe.mediums[3].p = 0.0 $DER.pipe.mediums[4].p = 0.0 $DER.pipe.mediums[1].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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.mediums[1].phase,pipe.mediums[2].phase,pipe.mediums[4].phase,pipe.mediums[5].phase,pipe.statesFM[2].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 (146): * Single equations (assignments): 145 * 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 {6 79} Notification: Performance of prepare postOptimizeDAE: time 0.3752/19.19, allocations: 0.5914 MB / 4.31 GB, free: 80.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004783/19.19, allocations: 141.4 kB / 4.31 GB, free: 80.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/19.2, allocations: 5.841 MB / 4.316 GB, free: 80.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.947e-05/19.2, allocations: 50.2 kB / 4.316 GB, free: 80.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/19.2, allocations: 3 kB / 4.316 GB, free: 80.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009831/19.21, allocations: 4.725 MB / 4.32 GB, free: 79.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/19.23, allocations: 8.175 MB / 4.328 GB, free: 79.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/19.23, allocations: 1.312 kB / 4.328 GB, free: 79.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/19.24, allocations: 260.7 kB / 4.329 GB, free: 79.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007917/19.24, allocations: 1.279 MB / 4.33 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004499/19.24, allocations: 56.05 kB / 4.33 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004031/19.25, allocations: 2.189 MB / 4.332 GB, free: 78.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.006e-06/19.25, allocations: 9.672 kB / 4.332 GB, free: 78.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/19.26, allocations: 5.661 MB / 4.338 GB, free: 78.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/19.26, allocations: 0.6117 MB / 4.338 GB, free: 77.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004509/19.26, allocations: 43.78 kB / 4.338 GB, free: 77.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/19.27, allocations: 169.6 kB / 4.338 GB, free: 77.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004723/19.27, allocations: 159.2 kB / 4.338 GB, free: 77.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/19.27, allocations: 56.34 kB / 4.339 GB, free: 77.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002055/19.27, allocations: 0.9555 MB / 4.339 GB, free: 77.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.72e-07/19.27, allocations: 0 / 4.339 GB, free: 77.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01014/19.28, allocations: 2.059 MB / 4.341 GB, free: 77.86 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (pipe.mediums[1].h,pipe.mediums[2].h,pipe.mediums[3].h,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 31 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.mediums[1].phase,pipe.mediums[2].phase,pipe.mediums[4].phase,pipe.mediums[5].phase,pipe.statesFM[2].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 (124): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 1 * 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 {10 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.01191/19.29, allocations: 1.917 MB / 4.343 GB, free: 77.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01306/19.3, allocations: 4.349 MB / 4.348 GB, free: 77.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/19.3, allocations: 0 / 4.348 GB, free: 77.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005041/19.31, allocations: 1.948 MB / 4.349 GB, free: 77.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009844/19.32, allocations: 0.6922 MB / 4.35 GB, free: 77.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07925/19.4, allocations: 30.93 MB / 4.38 GB, free: 75.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/19.4, allocations: 1.751 MB / 4.382 GB, free: 74.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00448/19.4, allocations: 1.29 MB / 4.383 GB, free: 74.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006912/19.41, allocations: 123.1 kB / 4.383 GB, free: 74.49 MB / 490.7 MB Notification: Performance of SimCode: time 1.293e-06/19.41, allocations: 0 / 4.383 GB, free: 74.49 MB / 490.7 MB Notification: Performance of Templates: time 0.1541/19.56, allocations: 73.69 MB / 4.455 GB, free: 49.01 MB / 490.7 MB