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.000817/0.0008172, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.5 MB / 229.6 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009327/0.0009324, allocations: 102.9 kB / 280.5 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002575/0.002574, allocations: 0.5616 MB / 331.8 MB, free: 14.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.9e-05, allocations: 0 / 388.6 MB, free: 5.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3111, allocations: 50.56 MB / 439.2 MB, free: 19.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.548/6.859, allocations: 2.828 GB / 3.257 GB, free: 129.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/6.859, allocations: 86.03 kB / 3.257 GB, free: 129.9 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2/8.86, allocations: 497 MB / 3.742 GB, free: 44.72 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.793e-06/8.86, allocations: 3.469 kB / 3.742 GB, free: 44.72 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001029/8.86, allocations: 39.22 kB / 3.742 GB, free: 44.72 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.01471/8.875, allocations: 2.882 MB / 3.745 GB, free: 43.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/8.875, allocations: 8.938 kB / 3.745 GB, free: 43.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004816/8.88, allocations: 0.575 MB / 3.746 GB, free: 43.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004262/8.884, allocations: 1.483 MB / 3.747 GB, free: 43.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/8.884, allocations: 75.27 kB / 3.747 GB, free: 43.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/8.885, allocations: 88.14 kB / 3.747 GB, free: 43.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002904/8.887, allocations: 2.004 MB / 3.749 GB, free: 43.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/8.891, allocations: 2.03 MB / 3.751 GB, free: 42.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/8.891, allocations: 6.969 kB / 3.751 GB, free: 42.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/8.891, allocations: 9.688 kB / 3.751 GB, free: 42.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/8.891, allocations: 114.2 kB / 3.751 GB, free: 42.81 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.2745/9.165, allocations: 133.5 MB / 3.882 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/9.168, allocations: 1.175 MB / 3.883 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/9.169, allocations: 0.7564 MB / 3.883 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03233/9.202, allocations: 16.71 MB / 3.9 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002074/9.204, allocations: 0.8612 MB / 3.901 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=112): time 8.215e-06/9.204, allocations: 0 / 3.901 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=136): time 0.02076/9.224, allocations: 6.019 MB / 3.906 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/9.225, allocations: 201.9 kB / 3.907 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/9.226, allocations: 0.8179 MB / 3.907 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002433/9.227, allocations: 25.7 kB / 3.907 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008433/9.228, allocations: 0.7248 MB / 3.908 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005934/9.228, allocations: 464.2 kB / 3.909 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/9.228, allocations: 0 / 3.909 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002792/9.229, allocations: 433.7 kB / 3.909 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/9.23, allocations: 0.8583 MB / 3.91 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/9.232, allocations: 1.34 MB / 3.911 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/9.243, allocations: 3.524 MB / 3.915 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-05/9.243, allocations: 4 kB / 3.915 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.007993/9.251, allocations: 3.219 MB / 3.918 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.3886/9.639, allocations: 5.658 MB / 3.923 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.434e-05/9.64, allocations: 14.52 kB / 3.923 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007087/9.647, allocations: 1.959 MB / 3.925 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/9.648, allocations: 276.7 kB / 3.925 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/9.652, allocations: 3.246 MB / 3.929 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/9.655, allocations: 196.4 kB / 3.929 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/9.655, allocations: 86.98 kB / 3.929 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/9.655, allocations: 3.156 kB / 3.929 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006974/9.662, allocations: 3.095 MB / 3.932 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/9.662, allocations: 15.31 kB / 3.932 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005793/9.668, allocations: 1.765 MB / 3.934 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/9.669, allocations: 294.7 kB / 3.934 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/9.673, allocations: 2.875 MB / 3.937 GB, free: 99.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/9.676, allocations: 178.2 kB / 3.937 GB, free: 99.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006565/9.677, allocations: 87.47 kB / 3.937 GB, free: 99.98 MB / 0.5105 GB 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 ($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,source.medium.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.001416/9.678, allocations: 179.1 kB / 3.937 GB, free: 99.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008745/9.679, allocations: 124.2 kB / 3.937 GB, free: 99.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/9.69, allocations: 4.594 MB / 3.942 GB, free: 99.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.537e-05/9.69, allocations: 45.52 kB / 3.942 GB, free: 99.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.289e-05/9.69, allocations: 4.938 kB / 3.942 GB, free: 99.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005823/9.696, allocations: 4.268 MB / 3.946 GB, free: 98.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/9.707, allocations: 6.961 MB / 3.953 GB, free: 98.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/9.707, allocations: 0.6094 kB / 3.953 GB, free: 98.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008491/9.708, allocations: 223.7 kB / 3.953 GB, free: 98.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00369/9.711, allocations: 1.188 MB / 3.954 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/9.712, allocations: 31.86 kB / 3.954 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/9.714, allocations: 2.38 MB / 3.957 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.958e-06/9.714, allocations: 3.75 kB / 3.957 GB, free: 97.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006992/9.721, allocations: 4.871 MB / 3.961 GB, free: 97.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/9.723, allocations: 449.8 kB / 3.962 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005581/9.723, allocations: 17.56 kB / 3.962 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/9.725, allocations: 135.5 kB / 3.962 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/9.725, allocations: 140.6 kB / 3.962 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/9.726, allocations: 49.72 kB / 3.962 GB, free: 96.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001085/9.727, allocations: 0.5875 MB / 3.963 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.91e-07/9.727, allocations: 0 / 3.963 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01142/9.738, allocations: 1.981 MB / 3.965 GB, free: 96.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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: 26 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01331/9.751, allocations: 2.067 MB / 3.967 GB, free: 96.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008799/9.76, allocations: 3.738 MB / 3.97 GB, free: 96.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/9.76, allocations: 0 / 3.97 GB, free: 96.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002893/9.763, allocations: 1.611 MB / 3.972 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/9.767, allocations: 0.5108 MB / 3.972 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008513/9.775, allocations: 3.752 MB / 3.976 GB, free: 95.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001874/9.777, allocations: 1.608 MB / 3.978 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004019/9.781, allocations: 1.557 MB / 3.979 GB, free: 95.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/9.782, allocations: 102.9 kB / 3.979 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of SimCode: time 2.074e-06/9.782, allocations: 0 / 3.979 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.1083/9.89, allocations: 64.49 MB / 4.042 GB, free: 88.84 MB / 0.5105 GB 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)