Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 87.11 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.00452/0.004521, allocations: 0.5474 MB / 337 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.373e-05/4.386e-05, allocations: 0 / 395.5 MB, free: 70.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 50.58 MB / 446 MB, free: 19.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.999/7.123, allocations: 2.828 GB / 3.264 GB, free: 50.54 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/7.123, allocations: 76.09 kB / 3.264 GB, free: 50.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.076/9.199, allocations: 0.4902 GB / 3.754 GB, free: 40.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.036e-06/9.199, allocations: 0 / 3.754 GB, free: 40.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001911/9.199, allocations: 40.31 kB / 3.754 GB, free: 40.07 MB / 458.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.01353/9.213, allocations: 2.888 MB / 3.757 GB, free: 38.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/9.213, allocations: 7.5 kB / 3.757 GB, free: 38.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005246/9.218, allocations: 0.5803 MB / 3.758 GB, free: 38.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005243/9.223, allocations: 1.479 MB / 3.759 GB, free: 38.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/9.223, allocations: 137.3 kB / 3.759 GB, free: 38.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008526/9.224, allocations: 147.4 kB / 3.759 GB, free: 38.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007554/9.232, allocations: 2.692 MB / 3.762 GB, free: 38.13 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.556e-05/9.232, allocations: 7.188 kB / 3.762 GB, free: 38.13 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000474/9.233, allocations: 61.12 kB / 3.762 GB, free: 38.13 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/9.233, allocations: 111.3 kB / 3.762 GB, free: 38.13 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005866/9.239, allocations: 2.519 MB / 3.765 GB, free: 38.11 MB / 458.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.01451/9.253, allocations: 10.92 MB / 3.775 GB, free: 30.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003837/9.257, allocations: 1.761 MB / 3.777 GB, free: 30.15 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/9.258, allocations: 0.8533 MB / 3.778 GB, free: 29.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1353/9.393, allocations: 62.02 MB / 3.838 GB, free: 18.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003875/9.397, allocations: 1.4 MB / 3.84 GB, free: 17.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 7.273e-06/9.397, allocations: 0 / 3.84 GB, free: 17.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=151): time 0.01711/9.415, allocations: 6.978 MB / 3.847 GB, free: 11.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/9.415, allocations: 286 kB / 3.847 GB, free: 10.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/9.417, allocations: 0.8836 MB / 3.848 GB, free: 10.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002233/9.417, allocations: 53.7 kB / 3.848 GB, free: 10.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007096/9.418, allocations: 0.6631 MB / 3.848 GB, free: 9.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/9.418, allocations: 0.519 MB / 3.849 GB, free: 9.016 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/9.418, allocations: 36 kB / 3.849 GB, free: 8.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/9.419, allocations: 376.6 kB / 3.849 GB, free: 8.625 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/9.42, allocations: 0.8855 MB / 3.85 GB, free: 7.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/9.422, allocations: 1.379 MB / 3.852 GB, free: 6.375 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4611/9.883, allocations: 9.745 MB / 3.861 GB, free: 69.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.327e-05/9.883, allocations: 4.438 kB / 3.861 GB, free: 69.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.007214/9.89, allocations: 3.105 MB / 3.864 GB, free: 69.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001614/9.892, allocations: 5.662 MB / 3.87 GB, free: 63.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/9.892, allocations: 15.03 kB / 3.87 GB, free: 63.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/9.902, allocations: 2.414 MB / 3.872 GB, free: 63.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/9.904, allocations: 281 kB / 3.872 GB, free: 63.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/9.908, allocations: 3.012 MB / 3.875 GB, free: 63.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/9.91, allocations: 217.2 kB / 3.875 GB, free: 63.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/9.91, allocations: 90.75 kB / 3.876 GB, free: 63.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/9.91, allocations: 7.828 kB / 3.876 GB, free: 63.17 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004372/9.915, allocations: 2.914 MB / 3.878 GB, free: 63.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.585e-05/9.915, allocations: 17.92 kB / 3.878 GB, free: 63.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006898/9.922, allocations: 1.84 MB / 3.88 GB, free: 63.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/9.923, allocations: 297.5 kB / 3.88 GB, free: 63.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0042/9.927, allocations: 2.759 MB / 3.883 GB, free: 62.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/9.93, allocations: 217.5 kB / 3.883 GB, free: 62.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/9.93, allocations: 89.19 kB / 3.883 GB, free: 62.57 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.0007057/9.93, allocations: 227.6 kB / 3.884 GB, free: 62.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003602/9.931, allocations: 143 kB / 3.884 GB, free: 62.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008836/9.94, allocations: 5.727 MB / 3.889 GB, free: 62.12 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-05/9.94, allocations: 49 kB / 3.889 GB, free: 62.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/9.94, allocations: 12.3 kB / 3.889 GB, free: 62.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005261/9.945, allocations: 4.651 MB / 3.894 GB, free: 61.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/9.956, allocations: 7.98 MB / 3.902 GB, free: 60.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/9.956, allocations: 4.812 kB / 3.902 GB, free: 60.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009668/9.957, allocations: 261.1 kB / 3.902 GB, free: 60.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003903/9.961, allocations: 1.236 MB / 3.903 GB, free: 60.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/9.961, allocations: 49.95 kB / 3.903 GB, free: 60.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002554/9.964, allocations: 2.176 MB / 3.905 GB, free: 60.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/9.964, allocations: 8.828 kB / 3.905 GB, free: 60.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006946/9.971, allocations: 5.415 MB / 3.911 GB, free: 59.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/9.973, allocations: 0.6138 MB / 3.911 GB, free: 59.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/9.973, allocations: 41.12 kB / 3.911 GB, free: 59.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/9.974, allocations: 177.2 kB / 3.912 GB, free: 59.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/9.974, allocations: 155.7 kB / 3.912 GB, free: 59.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/9.975, allocations: 55.11 kB / 3.912 GB, free: 59.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001535/9.976, allocations: 0.9433 MB / 3.913 GB, free: 59.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/9.976, allocations: 3.375 kB / 3.913 GB, free: 59.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01137/9.987, allocations: 2.131 MB / 3.915 GB, free: 59.08 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.01282/10, allocations: 2.006 MB / 3.917 GB, free: 58.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007397/10.01, allocations: 4.01 MB / 3.921 GB, free: 58.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/10.01, allocations: 0 / 3.921 GB, free: 58.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002673/10.01, allocations: 1.818 MB / 3.922 GB, free: 58.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/10.01, allocations: 0.6764 MB / 3.923 GB, free: 58.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1118/10.13, allocations: 58.7 MB / 3.98 GB, free: 51.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002092/10.13, allocations: 1.748 MB / 3.982 GB, free: 51.13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003083/10.13, allocations: 1.404 MB / 3.983 GB, free: 51.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/10.13, allocations: 105.6 kB / 3.984 GB, free: 51.05 MB / 490.7 MB Notification: Performance of SimCode: time 1.292e-06/10.13, allocations: 0 / 3.984 GB, free: 51.05 MB / 490.7 MB Notification: Performance of Templates: time 0.3986/10.53, allocations: 75.27 MB / 4.057 GB, free: 66.82 MB / 490.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.pipe 2>&1)