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+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/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.001347/0.001346, allocations: 172.1 kB / 16.12 MB, free: 5.672 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.542/1.542, allocations: 223.2 MB / 240.1 MB, free: 11.71 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.0007322/0.0007323, allocations: 97.53 kB / 291.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002584/0.002584, allocations: 0.5556 MB / 343 MB, free: 7.109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005238, allocations: 12 kB / 404.2 MB, free: 65.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1107, allocations: 50.56 MB / 454.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.992/5.103, allocations: 2.829 GB / 3.273 GB, free: 78.71 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/5.103, allocations: 78.52 kB / 3.273 GB, free: 78.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573/6.677, allocations: 478.1 MB / 3.74 GB, free: 33.76 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/6.677, allocations: 0 / 3.74 GB, free: 33.76 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001628/6.677, allocations: 38.81 kB / 3.74 GB, free: 33.75 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.01098/6.688, allocations: 3.082 MB / 3.743 GB, free: 32.51 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/6.688, allocations: 11.16 kB / 3.743 GB, free: 32.51 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/6.693, allocations: 0.6682 MB / 3.744 GB, free: 32.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0255/6.718, allocations: 15.92 MB / 3.759 GB, free: 31.92 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/6.719, allocations: 157.3 kB / 3.759 GB, free: 31.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006525/6.719, allocations: 161.5 kB / 3.76 GB, free: 31.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007306/6.727, allocations: 3.374 MB / 3.763 GB, free: 31.46 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.022e-05/6.727, allocations: 14.03 kB / 3.763 GB, free: 31.46 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004019/6.727, allocations: 69.98 kB / 3.763 GB, free: 31.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/6.727, allocations: 159.8 kB / 3.763 GB, free: 31.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006865/6.734, allocations: 3.282 MB / 3.766 GB, free: 31.44 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01384/6.748, allocations: 13.33 MB / 3.779 GB, free: 23.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/6.752, allocations: 2.18 MB / 3.781 GB, free: 23.85 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/6.754, allocations: 1.12 MB / 3.783 GB, free: 23.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1135/6.868, allocations: 61.72 MB / 3.843 GB, free: 20.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004603/6.872, allocations: 1.641 MB / 3.844 GB, free: 20.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 5.59e-06/6.872, allocations: 3.438 kB / 3.844 GB, free: 20.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.02566/6.898, allocations: 10.4 MB / 3.855 GB, free: 17.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/6.898, allocations: 334.8 kB / 3.855 GB, free: 17.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/6.9, allocations: 1.224 MB / 3.856 GB, free: 17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002798/6.9, allocations: 52.86 kB / 3.856 GB, free: 16.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005921/6.901, allocations: 0.7963 MB / 3.857 GB, free: 16.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005712/6.901, allocations: 0.5648 MB / 3.858 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/6.901, allocations: 40 kB / 3.858 GB, free: 15.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/6.902, allocations: 395.5 kB / 3.858 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/6.904, allocations: 1.179 MB / 3.859 GB, free: 14.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/6.906, allocations: 1.757 MB / 3.861 GB, free: 12.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04882/6.955, allocations: 11.99 MB / 3.872 GB, free: 3.727 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/6.955, allocations: 8 kB / 3.873 GB, free: 3.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007566/6.962, allocations: 3.455 MB / 3.876 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2082/7.17, allocations: 0.5768 MB / 3.876 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9e-05/7.171, allocations: 16.47 kB / 3.876 GB, free: 63.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/7.172, allocations: 456.5 kB / 3.877 GB, free: 63.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/7.175, allocations: 0.5172 MB / 3.877 GB, free: 63.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/7.177, allocations: 3.31 MB / 3.881 GB, free: 61.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/7.179, allocations: 256.4 kB / 3.881 GB, free: 61.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/7.179, allocations: 107 kB / 3.881 GB, free: 61.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.315e-06/7.179, allocations: 3.094 kB / 3.881 GB, free: 61.04 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00507/7.184, allocations: 3.187 MB / 3.884 GB, free: 60.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/7.184, allocations: 19.44 kB / 3.884 GB, free: 60.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/7.186, allocations: 460.6 kB / 3.885 GB, free: 60.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/7.187, allocations: 0.5072 MB / 3.885 GB, free: 60.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/7.189, allocations: 3.315 MB / 3.888 GB, free: 58.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/7.191, allocations: 247.9 kB / 3.889 GB, free: 58.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/7.191, allocations: 99.86 kB / 3.889 GB, free: 58.34 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) 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 () * Number of clocked 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.001148/7.192, allocations: 0.6778 MB / 3.889 GB, free: 58.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/7.192, allocations: 157.8 kB / 3.889 GB, free: 58.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00804/7.2, allocations: 6.659 MB / 3.896 GB, free: 57.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.068e-05/7.201, allocations: 67.03 kB / 3.896 GB, free: 57.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/7.201, allocations: 5.875 kB / 3.896 GB, free: 57.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006217/7.207, allocations: 5.224 MB / 3.901 GB, free: 57.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/7.219, allocations: 9.11 MB / 3.91 GB, free: 56.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/7.219, allocations: 2.25 kB / 3.91 GB, free: 56.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/7.22, allocations: 395.5 kB / 3.91 GB, free: 56.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/7.222, allocations: 0.5644 MB / 3.911 GB, free: 56.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/7.222, allocations: 60.44 kB / 3.911 GB, free: 56.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/7.224, allocations: 3.403 MB / 3.914 GB, free: 53.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/7.224, allocations: 6.094 kB / 3.914 GB, free: 53.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008515/7.232, allocations: 6.693 MB / 3.921 GB, free: 53.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/7.234, allocations: 0.7657 MB / 3.922 GB, free: 53.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002749/7.234, allocations: 47.78 kB / 3.922 GB, free: 53.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/7.235, allocations: 192.5 kB / 3.922 GB, free: 53.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/7.236, allocations: 179.5 kB / 3.922 GB, free: 53.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/7.236, allocations: 63.36 kB / 3.922 GB, free: 53.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001589/7.238, allocations: 1.184 MB / 3.923 GB, free: 53.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.5e-07/7.238, allocations: 0 / 3.923 GB, free: 53.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007116/7.245, allocations: 2.243 MB / 3.925 GB, free: 53.07 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 () * Number of clocked 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.007427/7.252, allocations: 1.931 MB / 3.927 GB, free: 52.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00773/7.26, allocations: 5.014 MB / 3.932 GB, free: 52.81 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/7.26, allocations: 0 / 3.932 GB, free: 52.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002695/7.263, allocations: 2.255 MB / 3.934 GB, free: 52.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003638/7.266, allocations: 0.7425 MB / 3.935 GB, free: 52.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06542/7.332, allocations: 57.17 MB / 3.991 GB, free: 44.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/7.333, allocations: 1.945 MB / 3.993 GB, free: 43.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003738/7.337, allocations: 2.255 MB / 3.995 GB, free: 43.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004631/7.337, allocations: 158.6 kB / 3.995 GB, free: 43.27 MB / 490.7 MB Notification: Performance of SimCode: time 6.12e-07/7.337, allocations: 0 / 3.995 GB, free: 43.27 MB / 490.7 MB Notification: Performance of Templates: time 0.2862/7.623, allocations: 70.62 MB / 4.064 GB, free: 59.22 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)