Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization") translateModel(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0011/0.0011, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.219/1.219, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001633/0.001633, allocations: 103.5 kB / 223.2 MB, free: 4.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2087/0.2087, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.506e-05/4.508e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.636/6.758, allocations: 2.553 GB / 2.949 GB, free: 58.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/6.759, allocations: 76.95 kB / 2.949 GB, free: 58.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793/8.551, allocations: 483.2 MB / 3.421 GB, free: 38.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/8.551, allocations: 0 / 3.421 GB, free: 38.13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.219e-05/8.551, allocations: 38.38 kB / 3.421 GB, free: 38.12 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.00949/8.561, allocations: 2.817 MB / 3.424 GB, free: 37.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/8.561, allocations: 10.25 kB / 3.424 GB, free: 37.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004393/8.565, allocations: 0.571 MB / 3.425 GB, free: 36.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00364/8.569, allocations: 1.472 MB / 3.426 GB, free: 36.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/8.569, allocations: 135.3 kB / 3.426 GB, free: 36.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002935/8.57, allocations: 144.4 kB / 3.426 GB, free: 36.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004834/8.574, allocations: 2.692 MB / 3.429 GB, free: 36.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/8.574, allocations: 7.094 kB / 3.429 GB, free: 36.17 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/8.575, allocations: 67.09 kB / 3.429 GB, free: 36.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.751e-05/8.575, allocations: 112.1 kB / 3.429 GB, free: 36.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004606/8.579, allocations: 2.522 MB / 3.432 GB, free: 36.14 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0119/8.591, allocations: 10.91 MB / 3.442 GB, free: 29.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/8.595, allocations: 1.77 MB / 3.444 GB, free: 29.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/8.596, allocations: 0.8414 MB / 3.445 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1256/8.722, allocations: 61.95 MB / 3.505 GB, free: 22.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003362/8.725, allocations: 1.397 MB / 3.507 GB, free: 21.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=127): time 3.837e-06/8.725, allocations: 0 / 3.507 GB, free: 21.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=151): time 0.01475/8.74, allocations: 6.973 MB / 3.514 GB, free: 15.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/8.74, allocations: 281.1 kB / 3.514 GB, free: 14.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/8.741, allocations: 0.8865 MB / 3.515 GB, free: 14.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001456/8.741, allocations: 53.7 kB / 3.515 GB, free: 14.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/8.742, allocations: 0.6711 MB / 3.515 GB, free: 13.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003514/8.742, allocations: 0.5202 MB / 3.516 GB, free: 12.96 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.56e-05/8.742, allocations: 36 kB / 3.516 GB, free: 12.92 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/8.742, allocations: 376.9 kB / 3.516 GB, free: 12.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/8.743, allocations: 0.8846 MB / 3.517 GB, free: 11.79 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/8.745, allocations: 1.38 MB / 3.519 GB, free: 10.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.692/12.44, allocations: 0.5692 GB / 4.088 GB, free: 76.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/12.44, allocations: 5.875 kB / 4.088 GB, free: 76.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.00513/12.44, allocations: 3.093 MB / 4.091 GB, free: 76.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001041/12.44, allocations: 5.663 MB / 4.096 GB, free: 70.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/12.44, allocations: 18.72 kB / 4.096 GB, free: 70.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009896/12.45, allocations: 2.387 MB / 4.099 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/12.45, allocations: 278.2 kB / 4.099 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/12.46, allocations: 3.021 MB / 4.102 GB, free: 70.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/12.46, allocations: 215.1 kB / 4.102 GB, free: 70.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/12.46, allocations: 84.16 kB / 4.102 GB, free: 70.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/12.46, allocations: 2.875 kB / 4.102 GB, free: 70.04 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00442/12.46, allocations: 2.922 MB / 4.105 GB, free: 69.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/12.46, allocations: 14.94 kB / 4.105 GB, free: 69.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006106/12.47, allocations: 1.849 MB / 4.107 GB, free: 69.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/12.47, allocations: 296.4 kB / 4.107 GB, free: 69.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/12.48, allocations: 2.762 MB / 4.11 GB, free: 69.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/12.48, allocations: 207.1 kB / 4.11 GB, free: 69.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/12.48, allocations: 87.91 kB / 4.11 GB, free: 69.43 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) 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 () * 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.0005269/12.48, allocations: 231.6 kB / 4.11 GB, free: 69.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/12.48, allocations: 138.1 kB / 4.11 GB, free: 69.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006328/12.48, allocations: 5.736 MB / 4.116 GB, free: 68.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.019e-05/12.48, allocations: 48.92 kB / 4.116 GB, free: 68.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/12.48, allocations: 3.969 kB / 4.116 GB, free: 68.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00419/12.49, allocations: 4.648 MB / 4.121 GB, free: 68.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009472/12.5, allocations: 7.978 MB / 4.128 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/12.5, allocations: 2.906 kB / 4.128 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009321/12.5, allocations: 257.7 kB / 4.129 GB, free: 67.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00394/12.5, allocations: 1.234 MB / 4.13 GB, free: 67.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/12.5, allocations: 55.42 kB / 4.13 GB, free: 67.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/12.51, allocations: 2.186 MB / 4.132 GB, free: 66.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/12.51, allocations: 3.625 kB / 4.132 GB, free: 66.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005867/12.51, allocations: 5.415 MB / 4.137 GB, free: 66.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/12.51, allocations: 0.6122 MB / 4.138 GB, free: 66.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/12.51, allocations: 45.48 kB / 4.138 GB, free: 66.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/12.51, allocations: 172.5 kB / 4.138 GB, free: 66.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/12.51, allocations: 156.5 kB / 4.138 GB, free: 66.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/12.51, allocations: 57.16 kB / 4.138 GB, free: 66.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001242/12.52, allocations: 0.9426 MB / 4.139 GB, free: 65.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/12.52, allocations: 0 / 4.139 GB, free: 65.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008468/12.52, allocations: 2.115 MB / 4.141 GB, free: 65.91 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 () * 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.01004/12.53, allocations: 1.99 MB / 4.143 GB, free: 65.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006718/12.54, allocations: 4.01 MB / 4.147 GB, free: 65.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/12.54, allocations: 1.688 kB / 4.147 GB, free: 65.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002433/12.54, allocations: 1.818 MB / 4.149 GB, free: 65.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/12.55, allocations: 0.6691 MB / 4.15 GB, free: 65.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3664/12.91, allocations: 58.54 MB / 4.207 GB, free: 76.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/12.92, allocations: 1.745 MB / 4.209 GB, free: 75.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00334/12.92, allocations: 1.399 MB / 4.21 GB, free: 75.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/12.92, allocations: 108.3 kB / 4.21 GB, free: 75.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.503e-06/12.92, allocations: 0 / 4.21 GB, free: 75.38 MB / 490.7 MB Notification: Performance of Templates: time 0.0959/13.01, allocations: 74.96 MB / 4.283 GB, free: 72.97 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.pipe 2>&1)