Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.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.DynamicPipeInitialValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 172.5 kB / 7.646 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.495/1.495, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0009901/0.0009903, allocations: 93.67 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002314/0.002314, allocations: 0.5734 MB / 331.8 MB, free: 14.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/2.003e-05, allocations: 4 kB / 388.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3164, allocations: 50.57 MB / 439.2 MB, free: 19.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.542/6.858, allocations: 2.828 GB / 3.257 GB, free: 130.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/6.859, allocations: 75.05 kB / 3.257 GB, free: 130.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.092/8.95, allocations: 0.4891 GB / 3.746 GB, free: 43.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.254e-06/8.95, allocations: 0 / 3.746 GB, free: 43.15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001027/8.951, allocations: 44.98 kB / 3.746 GB, free: 43.14 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.01352/8.964, allocations: 2.896 MB / 3.749 GB, free: 41.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.165e-05/8.964, allocations: 11.61 kB / 3.749 GB, free: 41.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00602/8.97, allocations: 0.677 MB / 3.749 GB, free: 41.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00457/8.975, allocations: 1.508 MB / 3.751 GB, free: 41.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/8.975, allocations: 87.27 kB / 3.751 GB, free: 41.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004832/8.976, allocations: 100.7 kB / 3.751 GB, free: 41.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004042/8.98, allocations: 2.587 MB / 3.754 GB, free: 41.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/8.983, allocations: 2.664 MB / 3.756 GB, free: 41.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.973e-05/8.983, allocations: 16.06 kB / 3.756 GB, free: 41.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/8.983, allocations: 6.719 kB / 3.756 GB, free: 41.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/8.984, allocations: 156.6 kB / 3.756 GB, free: 41.05 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.2731/9.257, allocations: 135.6 MB / 3.889 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/9.26, allocations: 1.476 MB / 3.89 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/9.261, allocations: 0.9034 MB / 3.891 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0343/9.296, allocations: 16.86 MB / 3.908 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002929/9.299, allocations: 1.055 MB / 3.909 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=129): time 7.153e-06/9.299, allocations: 0 / 3.909 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of matching and sorting (n=149): time 0.02245/9.321, allocations: 7.077 MB / 3.915 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/9.321, allocations: 204 kB / 3.916 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/9.323, allocations: 0.8948 MB / 3.917 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000223/9.323, allocations: 29.7 kB / 3.917 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000837/9.324, allocations: 0.8462 MB / 3.917 GB, free: 12 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.4054/9.729, allocations: 0.496 MB / 3.918 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002865/9.73, allocations: 0 / 3.918 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003744/9.73, allocations: 442 kB / 3.918 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/9.732, allocations: 1.037 MB / 3.919 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/9.734, allocations: 1.589 MB / 3.921 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01254/9.746, allocations: 3.548 MB / 3.924 GB, free: 105 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-05/9.746, allocations: 4.719 kB / 3.924 GB, free: 105 MB / 0.5105 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.008217/9.754, allocations: 3.387 MB / 3.928 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001886/9.756, allocations: 6.535 MB / 3.934 GB, free: 98.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/9.756, allocations: 18.5 kB / 3.934 GB, free: 98.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/9.757, allocations: 426 kB / 3.934 GB, free: 97.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/9.76, allocations: 0.5089 MB / 3.935 GB, free: 97.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/9.762, allocations: 3.351 MB / 3.938 GB, free: 95.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/9.764, allocations: 230.4 kB / 3.938 GB, free: 95.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/9.764, allocations: 99.53 kB / 3.939 GB, free: 95.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/9.764, allocations: 3.75 kB / 3.939 GB, free: 95.36 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00591/9.77, allocations: 2.954 MB / 3.941 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.51e-05/9.77, allocations: 20.31 kB / 3.941 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/9.771, allocations: 419.2 kB / 3.942 GB, free: 95.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/9.774, allocations: 0.5078 MB / 3.942 GB, free: 95.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/9.776, allocations: 3.353 MB / 3.946 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/9.778, allocations: 208.3 kB / 3.946 GB, free: 92.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/9.778, allocations: 98.41 kB / 3.946 GB, free: 92.63 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 1 initial equations are redundant, so they are removed from the initialization sytem: pipe.mediums[1].p = 10000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.m_flow_initial,m_flow_initial,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,source.medium.phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,pipe.state_a.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 239 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007477/9.779, allocations: 175.8 kB / 3.946 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/9.779, allocations: 138 kB / 3.946 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00716/9.787, allocations: 5.403 MB / 3.951 GB, free: 92.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.214e-05/9.787, allocations: 62.83 kB / 3.952 GB, free: 92.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/9.787, allocations: 7.094 kB / 3.952 GB, free: 92.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005501/9.792, allocations: 4.873 MB / 3.956 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/9.804, allocations: 7.978 MB / 3.964 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/9.804, allocations: 3.188 kB / 3.964 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/9.806, allocations: 360.9 kB / 3.964 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/9.807, allocations: 0.5083 MB / 3.965 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/9.807, allocations: 34.78 kB / 3.965 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/9.81, allocations: 3.546 MB / 3.968 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/9.81, allocations: 1.406 kB / 3.968 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00819/9.818, allocations: 5.901 MB / 3.974 GB, free: 87.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/9.819, allocations: 0.5562 MB / 3.975 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/9.82, allocations: 19.97 kB / 3.975 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/9.821, allocations: 160.3 kB / 3.975 GB, free: 87.33 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/9.821, allocations: 160.9 kB / 3.975 GB, free: 87.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/9.821, allocations: 58.36 kB / 3.975 GB, free: 87.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009695/9.822, allocations: 0.6637 MB / 3.976 GB, free: 87.22 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/9.822, allocations: 0 / 3.976 GB, free: 87.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0104/9.833, allocations: 2.132 MB / 3.978 GB, free: 87.17 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (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: 31 ($cse3.phase,$cse3.region,$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,$cse20.phase,$cse20.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$whenCondition1,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,m_flow_initial) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01269/9.845, allocations: 2.067 MB / 3.98 GB, free: 86.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009015/9.854, allocations: 4.496 MB / 3.984 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/9.855, allocations: 0 / 3.984 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002996/9.858, allocations: 1.911 MB / 3.986 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/9.861, allocations: 0.5538 MB / 3.987 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1149/9.976, allocations: 58.27 MB / 4.044 GB, free: 80.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/9.978, allocations: 1.863 MB / 4.045 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004599/9.982, allocations: 2.506 MB / 4.048 GB, free: 77.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/9.983, allocations: 142.9 kB / 4.048 GB, free: 77.17 MB / 0.5105 GB Notification: Performance of SimCode: time 7.72e-07/9.983, allocations: 0 / 4.048 GB, free: 77.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.3694/10.35, allocations: 59.8 MB / 4.106 GB, free: 101.8 MB / 0.5105 GB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe 2>&1)