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.0009826/0.0009826, allocations: 173.9 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.463/1.463, 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.0008615/0.0008616, allocations: 96.03 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002447/0.002447, allocations: 0.5537 MB / 337 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.522e-05, allocations: 4 kB / 395.5 MB, free: 70.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 50.57 MB / 446 MB, free: 19.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.13/7.251, allocations: 2.828 GB / 3.264 GB, free: 49.74 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/7.251, allocations: 75.81 kB / 3.264 GB, free: 49.71 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.088/9.34, allocations: 0.494 GB / 3.758 GB, free: 39.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.332e-06/9.34, allocations: 3.906 kB / 3.758 GB, free: 39.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001076/9.34, allocations: 44.77 kB / 3.758 GB, free: 39.54 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.01318/9.353, allocations: 2.897 MB / 3.761 GB, free: 38.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/9.353, allocations: 7.094 kB / 3.761 GB, free: 38.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005161/9.358, allocations: 0.6731 MB / 3.762 GB, free: 38.28 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/9.363, allocations: 1.525 MB / 3.763 GB, free: 37.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/9.363, allocations: 162.4 kB / 3.763 GB, free: 37.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005474/9.364, allocations: 160.5 kB / 3.763 GB, free: 37.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006189/9.37, allocations: 3.298 MB / 3.767 GB, free: 36.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.944e-05/9.37, allocations: 11.22 kB / 3.767 GB, free: 36.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/9.37, allocations: 80.25 kB / 3.767 GB, free: 36.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/9.37, allocations: 160.9 kB / 3.767 GB, free: 36.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005556/9.376, allocations: 3.095 MB / 3.77 GB, free: 35.67 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.01684/9.393, allocations: 13.36 MB / 3.783 GB, free: 26.05 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003951/9.397, allocations: 2.059 MB / 3.785 GB, free: 25.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/9.398, allocations: 0.9996 MB / 3.786 GB, free: 24.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1332/9.531, allocations: 62.02 MB / 3.846 GB, free: 8.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005662/9.537, allocations: 1.601 MB / 3.848 GB, free: 6.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 1.243e-05/9.537, allocations: 3.375 kB / 3.848 GB, free: 6.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.4334/9.97, allocations: 9.181 MB / 3.857 GB, free: 71.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/9.971, allocations: 335.3 kB / 3.857 GB, free: 71.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/9.973, allocations: 1.091 MB / 3.858 GB, free: 70.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005448/9.974, allocations: 58.3 kB / 3.858 GB, free: 70.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007925/9.975, allocations: 0.7956 MB / 3.859 GB, free: 70.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006739/9.975, allocations: 0.5738 MB / 3.86 GB, free: 70.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/9.975, allocations: 40.59 kB / 3.86 GB, free: 70.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/9.976, allocations: 387.2 kB / 3.86 GB, free: 70.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/9.977, allocations: 1.053 MB / 3.861 GB, free: 70.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/9.979, allocations: 1.615 MB / 3.863 GB, free: 69.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0466/10.03, allocations: 9.049 MB / 3.872 GB, free: 69.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.457e-05/10.03, allocations: 3.906 kB / 3.872 GB, free: 69.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.009773/10.04, allocations: 3.2 MB / 3.875 GB, free: 69.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001857/10.04, allocations: 6.531 MB / 3.881 GB, free: 62.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.939e-05/10.04, allocations: 17.09 kB / 3.881 GB, free: 62.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/10.04, allocations: 444.2 kB / 3.882 GB, free: 62.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/10.04, allocations: 0.5156 MB / 3.882 GB, free: 62.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/10.04, allocations: 3.31 MB / 3.885 GB, free: 59.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/10.05, allocations: 259.8 kB / 3.886 GB, free: 59.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006258/10.05, allocations: 100.4 kB / 3.886 GB, free: 59.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/10.05, allocations: 3.844 kB / 3.886 GB, free: 59.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006134/10.05, allocations: 2.923 MB / 3.888 GB, free: 59.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.709e-05/10.05, allocations: 21.66 kB / 3.888 GB, free: 59.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/10.06, allocations: 443.6 kB / 3.889 GB, free: 59.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/10.06, allocations: 0.5062 MB / 3.889 GB, free: 59.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/10.06, allocations: 3.309 MB / 3.893 GB, free: 56.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/10.06, allocations: 243.6 kB / 3.893 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005455/10.06, allocations: 104.5 kB / 3.893 GB, free: 56.97 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 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 (source.medium.phase,$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,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.001279/10.06, allocations: 242.7 kB / 3.893 GB, free: 56.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007022/10.07, allocations: 151 kB / 3.893 GB, free: 56.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009531/10.07, allocations: 6.544 MB / 3.9 GB, free: 56.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.204e-05/10.07, allocations: 70.59 kB / 3.9 GB, free: 56.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-05/10.07, allocations: 3.156 kB / 3.9 GB, free: 56.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005634/10.08, allocations: 5.133 MB / 3.905 GB, free: 55.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/10.1, allocations: 8.989 MB / 3.914 GB, free: 54.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/10.1, allocations: 7 kB / 3.914 GB, free: 54.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/10.1, allocations: 399 kB / 3.914 GB, free: 54.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/10.1, allocations: 0.5355 MB / 3.915 GB, free: 54.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003292/10.1, allocations: 55.69 kB / 3.915 GB, free: 54.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/10.1, allocations: 3.406 MB / 3.918 GB, free: 52.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/10.1, allocations: 0 / 3.918 GB, free: 52.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/10.11, allocations: 6.428 MB / 3.924 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/10.11, allocations: 0.77 MB / 3.925 GB, free: 51.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008117/10.12, allocations: 52.53 kB / 3.925 GB, free: 51.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002087/10.12, allocations: 197 kB / 3.925 GB, free: 51.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003936/10.12, allocations: 172.6 kB / 3.925 GB, free: 51.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/10.12, allocations: 64.67 kB / 3.925 GB, free: 51.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001817/10.12, allocations: 1.166 MB / 3.927 GB, free: 51.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/10.12, allocations: 0 / 3.927 GB, free: 51.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00922/10.13, allocations: 2.307 MB / 3.929 GB, free: 51.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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: 36 ($cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.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,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.009508/10.14, allocations: 2.004 MB / 3.931 GB, free: 50.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007436/10.15, allocations: 4.764 MB / 3.935 GB, free: 50.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/10.15, allocations: 0 / 3.935 GB, free: 50.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002769/10.15, allocations: 2.16 MB / 3.938 GB, free: 49.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/10.15, allocations: 0.7243 MB / 3.938 GB, free: 49.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1694/10.32, allocations: 89.86 MB / 4.026 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3001/10.62, allocations: 2.003 MB / 4.028 GB, free: 66.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005218/10.63, allocations: 2.411 MB / 4.03 GB, free: 66.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004903/10.63, allocations: 150.1 kB / 4.03 GB, free: 66.54 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/10.63, allocations: 0 / 4.03 GB, free: 66.54 MB / 490.7 MB Notification: Performance of Templates: time 0.09622/10.72, allocations: 71.48 MB / 4.1 GB, free: 64.27 MB / 490.7 MB 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)