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.01488/0.01488, allocations: 163.9 kB / 15.11 MB, free: 6.039 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.631/1.631, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001709/0.001709, allocations: 107.3 kB / 226.2 MB, free: 10.12 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.4492/0.4492, allocations: 38.04 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004161, allocations: 11.98 kB / 362.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1464, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.789/7.936, allocations: 2.553 GB / 2.955 GB, free: 48.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/7.936, allocations: 78.95 kB / 2.955 GB, free: 48.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.015/9.951, allocations: 484.2 MB / 3.428 GB, free: 35.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/9.951, allocations: 0 / 3.428 GB, free: 35.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001092/9.951, allocations: 39.66 kB / 3.428 GB, free: 35.93 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.01312/9.964, allocations: 3.028 MB / 3.431 GB, free: 34.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/9.965, allocations: 7.906 kB / 3.431 GB, free: 34.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004969/9.97, allocations: 0.564 MB / 3.432 GB, free: 34.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005068/9.975, allocations: 1.483 MB / 3.433 GB, free: 33.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/9.975, allocations: 136.4 kB / 3.433 GB, free: 33.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005023/9.975, allocations: 142.2 kB / 3.433 GB, free: 33.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005957/9.981, allocations: 2.745 MB / 3.436 GB, free: 32.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.84e-05/9.981, allocations: 3.969 kB / 3.436 GB, free: 32.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/9.982, allocations: 64.25 kB / 3.436 GB, free: 32.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/9.982, allocations: 115.4 kB / 3.436 GB, free: 32.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005678/9.987, allocations: 2.69 MB / 3.439 GB, free: 31.79 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.01349/10, allocations: 10.9 MB / 3.45 GB, free: 23.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004151/10.01, allocations: 1.829 MB / 3.451 GB, free: 23.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4955/10.5, allocations: 62.19 MB / 3.512 GB, free: 47.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004434/10.51, allocations: 1.415 MB / 3.514 GB, free: 47.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=127): time 4.328e-06/10.51, allocations: 0 / 3.514 GB, free: 47.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=151): time 0.0201/10.53, allocations: 8.344 MB / 3.522 GB, free: 46.04 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/10.53, allocations: 289.8 kB / 3.522 GB, free: 45.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/10.53, allocations: 0.8924 MB / 3.523 GB, free: 45.58 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001907/10.53, allocations: 52.42 kB / 3.523 GB, free: 45.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006384/10.53, allocations: 0.6767 MB / 3.524 GB, free: 45.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005222/10.53, allocations: 0.5092 MB / 3.524 GB, free: 45.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/10.53, allocations: 34.78 kB / 3.524 GB, free: 45.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/10.53, allocations: 381.9 kB / 3.524 GB, free: 44.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/10.53, allocations: 1.007 MB / 3.525 GB, free: 44.72 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002026/10.53, allocations: 1.508 MB / 3.527 GB, free: 44.17 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.008/14.54, allocations: 0.5691 GB / 4.096 GB, free: 81.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.604e-05/14.54, allocations: 3.969 kB / 4.096 GB, free: 81.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.008759/14.55, allocations: 3.425 MB / 4.099 GB, free: 81.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001598/14.55, allocations: 5.671 MB / 4.105 GB, free: 75.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-05/14.55, allocations: 15.38 kB / 4.105 GB, free: 75.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/14.56, allocations: 2.57 MB / 4.107 GB, free: 73.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/14.56, allocations: 278.4 kB / 4.108 GB, free: 73.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006634/14.57, allocations: 3.264 MB / 4.111 GB, free: 71.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/14.57, allocations: 216.3 kB / 4.111 GB, free: 71.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003903/14.57, allocations: 92.67 kB / 4.111 GB, free: 71.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/14.57, allocations: 5.562 kB / 4.111 GB, free: 71.46 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006826/14.58, allocations: 3.25 MB / 4.114 GB, free: 69.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/14.58, allocations: 16 kB / 4.114 GB, free: 69.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00764/14.59, allocations: 2.003 MB / 4.116 GB, free: 68.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/14.59, allocations: 296.1 kB / 4.117 GB, free: 68.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/14.59, allocations: 2.983 MB / 4.119 GB, free: 66.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/14.6, allocations: 211.4 kB / 4.12 GB, free: 66.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004069/14.6, allocations: 85.84 kB / 4.12 GB, free: 66.36 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.001986/14.6, allocations: 0.6104 MB / 4.12 GB, free: 65.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006069/14.6, allocations: 138.9 kB / 4.12 GB, free: 65.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008877/14.61, allocations: 5.832 MB / 4.126 GB, free: 62.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.623e-05/14.61, allocations: 52.81 kB / 4.126 GB, free: 62.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/14.61, allocations: 7.25 kB / 4.126 GB, free: 62.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00572/14.62, allocations: 4.732 MB / 4.131 GB, free: 60.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/14.63, allocations: 8.167 MB / 4.139 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/14.63, allocations: 8.125 kB / 4.139 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009815/14.63, allocations: 260.5 kB / 4.139 GB, free: 55.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004284/14.63, allocations: 1.281 MB / 4.14 GB, free: 54.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/14.63, allocations: 51.39 kB / 4.14 GB, free: 54.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/14.64, allocations: 2.192 MB / 4.143 GB, free: 53.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/14.64, allocations: 7.812 kB / 4.143 GB, free: 53.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007847/14.64, allocations: 5.781 MB / 4.148 GB, free: 50.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/14.65, allocations: 0.6178 MB / 4.149 GB, free: 49.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/14.65, allocations: 44.59 kB / 4.149 GB, free: 49.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/14.65, allocations: 176.7 kB / 4.149 GB, free: 49.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003119/14.65, allocations: 153.5 kB / 4.149 GB, free: 49.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/14.65, allocations: 57.58 kB / 4.149 GB, free: 49.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001722/14.65, allocations: 0.9575 MB / 4.15 GB, free: 48.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.82e-07/14.65, allocations: 0 / 4.15 GB, free: 48.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01051/14.66, allocations: 2.122 MB / 4.152 GB, free: 47.24 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.01249/14.67, allocations: 1.981 MB / 4.154 GB, free: 45.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009431/14.68, allocations: 4.355 MB / 4.158 GB, free: 42.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/14.68, allocations: 0 / 4.158 GB, free: 42.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003085/14.69, allocations: 1.942 MB / 4.16 GB, free: 40.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/14.69, allocations: 0.6682 MB / 4.161 GB, free: 40.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4283/15.12, allocations: 60.55 MB / 4.22 GB, free: 72.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/15.12, allocations: 1.741 MB / 4.222 GB, free: 71.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002816/15.12, allocations: 1.294 MB / 4.223 GB, free: 71.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/15.12, allocations: 120.4 kB / 4.223 GB, free: 71.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.183e-06/15.12, allocations: 0 / 4.223 GB, free: 71.6 MB / 490.7 MB Notification: Performance of Templates: time 0.1027/15.23, allocations: 71.93 MB / 4.293 GB, free: 65.96 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)