Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.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.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001208/0.001208, allocations: 169.9 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.48 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.001553/0.001553, allocations: 107.4 kB / 223.2 MB, free: 4.109 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.2029/0.2029, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.537e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08058/0.08062, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.709/6.789, allocations: 2.553 GB / 2.949 GB, free: 132.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/6.79, allocations: 78.14 kB / 2.949 GB, free: 132.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.007/8.796, allocations: 489.9 MB / 3.428 GB, free: 32.74 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.454e-06/8.797, allocations: 1.25 kB / 3.428 GB, free: 32.74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001682/8.797, allocations: 40.12 kB / 3.428 GB, free: 32.74 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01246/8.809, allocations: 2.942 MB / 3.431 GB, free: 31.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/8.809, allocations: 9.094 kB / 3.431 GB, free: 31.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005168/8.814, allocations: 0.6933 MB / 3.431 GB, free: 31.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004111/8.819, allocations: 1.572 MB / 3.433 GB, free: 31.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/8.819, allocations: 169 kB / 3.433 GB, free: 31.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/8.819, allocations: 183.1 kB / 3.433 GB, free: 31.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005937/8.825, allocations: 3.52 MB / 3.437 GB, free: 30.76 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.367e-05/8.825, allocations: 10.3 kB / 3.437 GB, free: 30.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/8.825, allocations: 78.61 kB / 3.437 GB, free: 30.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001584/8.826, allocations: 177.2 kB / 3.437 GB, free: 30.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005566/8.831, allocations: 3.333 MB / 3.44 GB, free: 30.73 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.01587/8.847, allocations: 14.11 MB / 3.454 GB, free: 22.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003887/8.851, allocations: 2.159 MB / 3.456 GB, free: 22.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/8.852, allocations: 1.074 MB / 3.457 GB, free: 22.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1171/8.969, allocations: 63.57 MB / 3.519 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00539/8.975, allocations: 1.695 MB / 3.521 GB, free: 15.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=154): time 7.174e-06/8.975, allocations: 0 / 3.521 GB, free: 15.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=174): time 0.02269/8.998, allocations: 8.153 MB / 3.529 GB, free: 13.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002205/8.998, allocations: 281.4 kB / 3.529 GB, free: 13.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/9, allocations: 1.175 MB / 3.53 GB, free: 13.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004013/9.001, allocations: 54.39 kB / 3.53 GB, free: 13.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001031/9.002, allocations: 0.8311 MB / 3.531 GB, free: 12.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000927/9.003, allocations: 0.595 MB / 3.532 GB, free: 12.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/9.003, allocations: 42.5 kB / 3.532 GB, free: 12.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003864/9.003, allocations: 396 kB / 3.532 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/9.006, allocations: 1.147 MB / 3.533 GB, free: 12.03 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/9.008, allocations: 1.688 MB / 3.535 GB, free: 11.39 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002512/9.011, allocations: 1.385 MB / 3.536 GB, free: 11.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-05/9.011, allocations: 3.469 kB / 3.536 GB, free: 11.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.006718/9.018, allocations: 3.98 MB / 3.54 GB, free: 11.15 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003641/9.021, allocations: 6.272 MB / 3.546 GB, free: 20.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.595e-05/9.021, allocations: 15.44 kB / 3.546 GB, free: 20.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01433/9.036, allocations: 3.445 MB / 3.55 GB, free: 20.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/9.037, allocations: 331.6 kB / 3.55 GB, free: 20.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006765/9.044, allocations: 3.816 MB / 3.554 GB, free: 19.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/9.047, allocations: 275.4 kB / 3.554 GB, free: 19.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004724/9.048, allocations: 102.2 kB / 3.554 GB, free: 19.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/9.048, allocations: 6.984 kB / 3.554 GB, free: 19.85 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00691/9.055, allocations: 3.586 MB / 3.558 GB, free: 19.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.126e-05/9.055, allocations: 13.97 kB / 3.558 GB, free: 19.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00819/9.063, allocations: 2.262 MB / 3.56 GB, free: 19.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/9.065, allocations: 368.5 kB / 3.56 GB, free: 19.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005266/9.07, allocations: 3.101 MB / 3.563 GB, free: 19.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/9.073, allocations: 269.1 kB / 3.563 GB, free: 19.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005107/9.074, allocations: 101.8 kB / 3.564 GB, free: 19.1 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 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 () * 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.001098/9.075, allocations: 230.5 kB / 3.564 GB, free: 18.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000618/9.076, allocations: 163.7 kB / 3.564 GB, free: 18.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009704/9.085, allocations: 6.773 MB / 3.571 GB, free: 16.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.034e-05/9.086, allocations: 70.81 kB / 3.571 GB, free: 16.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.006e-05/9.086, allocations: 8.078 kB / 3.571 GB, free: 16.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00585/9.091, allocations: 5.44 MB / 3.576 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0154/9.107, allocations: 9.477 MB / 3.585 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/9.107, allocations: 0 / 3.585 GB, free: 3.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/9.109, allocations: 437 kB / 3.586 GB, free: 3.125 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/9.111, allocations: 444.6 kB / 3.586 GB, free: 2.781 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/9.111, allocations: 69.33 kB / 3.586 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3278/9.439, allocations: 3.205 MB / 3.589 GB, free: 76.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/9.439, allocations: 3.75 kB / 3.589 GB, free: 76.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00897/9.448, allocations: 6.743 MB / 3.596 GB, free: 76.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/9.45, allocations: 0.7696 MB / 3.597 GB, free: 76.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004243/9.45, allocations: 55.39 kB / 3.597 GB, free: 76.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/9.452, allocations: 216.5 kB / 3.597 GB, free: 76.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004028/9.452, allocations: 180.3 kB / 3.597 GB, free: 76.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/9.453, allocations: 71.41 kB / 3.597 GB, free: 76.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00196/9.455, allocations: 1.225 MB / 3.598 GB, free: 76.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/9.455, allocations: 0 / 3.598 GB, free: 76.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01094/9.466, allocations: 2.343 MB / 3.601 GB, free: 76.2 MB / 490.7 MB 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 () * 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.01413/9.48, allocations: 1.994 MB / 3.602 GB, free: 76.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009819/9.49, allocations: 5.123 MB / 3.607 GB, free: 76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/9.49, allocations: 0 / 3.607 GB, free: 76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003342/9.493, allocations: 2.273 MB / 3.61 GB, free: 76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004446/9.497, allocations: 0.7901 MB / 3.61 GB, free: 75.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008798/9.506, allocations: 5.686 MB / 3.616 GB, free: 74.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/9.508, allocations: 2.062 MB / 3.618 GB, free: 74.24 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003675/9.511, allocations: 1.614 MB / 3.62 GB, free: 74.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/9.512, allocations: 140.3 kB / 3.62 GB, free: 74.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/9.512, allocations: 3.5 kB / 3.62 GB, free: 74.2 MB / 490.7 MB Notification: Performance of Templates: time 0.1149/9.627, allocations: 84.94 MB / 3.703 GB, free: 66.55 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe 2>&1)