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+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.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.00124/0.00124, allocations: 171.1 kB / 16.11 MB, free: 5.582 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.336/1.336, allocations: 223.3 MB / 240.1 MB, free: 11.69 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.0008244/0.0008243, allocations: 99.3 kB / 291.3 MB, free: 10.77 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.00223/0.00223, allocations: 0.5624 MB / 343 MB, free: 7.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006844/0.0006846, allocations: 9 kB / 404.2 MB, free: 65.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1025, allocations: 50.57 MB / 454.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.721/4.824, allocations: 2.829 GB / 3.273 GB, free: 78.81 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/4.824, allocations: 86.08 kB / 3.273 GB, free: 78.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.628/6.452, allocations: 474.3 MB / 3.736 GB, free: 33.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.613e-06/6.452, allocations: 2.25 kB / 3.736 GB, free: 33.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001472/6.452, allocations: 32.94 kB / 3.736 GB, free: 33.16 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.01095/6.463, allocations: 3.065 MB / 3.739 GB, free: 32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/6.463, allocations: 11.84 kB / 3.739 GB, free: 32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00435/6.467, allocations: 0.584 MB / 3.74 GB, free: 31.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02623/6.493, allocations: 15.86 MB / 3.755 GB, free: 31.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/6.494, allocations: 135.1 kB / 3.756 GB, free: 31.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000638/6.494, allocations: 141 kB / 3.756 GB, free: 31.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006742/6.501, allocations: 2.76 MB / 3.758 GB, free: 31.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.257e-05/6.501, allocations: 5.938 kB / 3.758 GB, free: 31.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003598/6.502, allocations: 62.2 kB / 3.758 GB, free: 31.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/6.502, allocations: 110.9 kB / 3.759 GB, free: 31.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005835/6.508, allocations: 2.688 MB / 3.761 GB, free: 31 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.01202/6.52, allocations: 10.9 MB / 3.772 GB, free: 24.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/6.524, allocations: 1.819 MB / 3.774 GB, free: 24.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/6.525, allocations: 0.9669 MB / 3.775 GB, free: 24.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1218/6.647, allocations: 61.72 MB / 3.835 GB, free: 21.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003931/6.651, allocations: 1.425 MB / 3.836 GB, free: 21.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 5.7e-06/6.651, allocations: 0 / 3.836 GB, free: 21.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=151): time 0.02034/6.671, allocations: 8.369 MB / 3.844 GB, free: 19.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/6.671, allocations: 278.1 kB / 3.845 GB, free: 19.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/6.673, allocations: 0.9983 MB / 3.846 GB, free: 19.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/6.673, allocations: 53.55 kB / 3.846 GB, free: 19.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005055/6.674, allocations: 0.6719 MB / 3.846 GB, free: 18.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004336/6.674, allocations: 0.5147 MB / 3.847 GB, free: 18.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/6.674, allocations: 36.16 kB / 3.847 GB, free: 18.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/6.674, allocations: 378 kB / 3.847 GB, free: 18.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/6.676, allocations: 1.012 MB / 3.848 GB, free: 18.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/6.678, allocations: 1.505 MB / 3.85 GB, free: 17.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05264/6.731, allocations: 12.29 MB / 3.862 GB, free: 11.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/6.731, allocations: 4 kB / 3.862 GB, free: 11.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.006779/6.738, allocations: 3.434 MB / 3.865 GB, free: 9.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003042/6.738, allocations: 0.5075 MB / 3.866 GB, free: 8.379 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/6.738, allocations: 16 kB / 3.866 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/6.749, allocations: 2.608 MB / 3.868 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/6.75, allocations: 277.5 kB / 3.868 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004997/6.755, allocations: 3.267 MB / 3.872 GB, free: 3.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/6.757, allocations: 221.8 kB / 3.872 GB, free: 3.273 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002893/6.757, allocations: 87.7 kB / 3.872 GB, free: 3.191 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/6.757, allocations: 4.938 kB / 3.872 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007738/6.765, allocations: 3.531 MB / 3.875 GB, free: 264 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/6.765, allocations: 16 kB / 3.875 GB, free: 248 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3123/7.077, allocations: 2.095 MB / 3.877 GB, free: 62.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/7.079, allocations: 304 kB / 3.878 GB, free: 62.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004654/7.083, allocations: 2.979 MB / 3.881 GB, free: 62.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/7.085, allocations: 211.8 kB / 3.881 GB, free: 62.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003187/7.086, allocations: 86.11 kB / 3.881 GB, free: 62.17 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 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe.mediums[1].p = 0.0 $DER.pipe.mediums[2].p = 0.0 $DER.pipe.mediums[3].p = 0.0 $DER.pipe.mediums[5].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 () * Number of clocked 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.001228/7.087, allocations: 0.6048 MB / 3.881 GB, free: 61.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/7.087, allocations: 141.7 kB / 3.882 GB, free: 61.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007306/7.094, allocations: 5.826 MB / 3.887 GB, free: 61.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.192e-05/7.095, allocations: 57.22 kB / 3.887 GB, free: 61.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/7.095, allocations: 0 / 3.887 GB, free: 61.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005018/7.1, allocations: 4.724 MB / 3.892 GB, free: 61.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/7.112, allocations: 8.176 MB / 3.9 GB, free: 60.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/7.112, allocations: 7.688 kB / 3.9 GB, free: 60.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/7.113, allocations: 254.8 kB / 3.9 GB, free: 60.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004591/7.118, allocations: 1.281 MB / 3.901 GB, free: 60.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002771/7.118, allocations: 52.23 kB / 3.901 GB, free: 60.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003011/7.121, allocations: 2.192 MB / 3.904 GB, free: 59.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/7.121, allocations: 2.562 kB / 3.904 GB, free: 59.79 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009461/7.131, allocations: 5.663 MB / 3.909 GB, free: 59.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/7.132, allocations: 0.6092 MB / 3.91 GB, free: 59.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/7.132, allocations: 47.36 kB / 3.91 GB, free: 59.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/7.134, allocations: 167.3 kB / 3.91 GB, free: 59.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/7.134, allocations: 155.8 kB / 3.91 GB, free: 59.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/7.134, allocations: 59.86 kB / 3.91 GB, free: 59.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001428/7.136, allocations: 0.9563 MB / 3.911 GB, free: 58.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.81e-07/7.136, allocations: 3.938 kB / 3.911 GB, free: 58.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008472/7.144, allocations: 2.071 MB / 3.913 GB, free: 58.99 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 () * Number of clocked 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.01003/7.154, allocations: 1.925 MB / 3.915 GB, free: 58.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008433/7.163, allocations: 4.344 MB / 3.919 GB, free: 58.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/7.163, allocations: 2.375 kB / 3.919 GB, free: 58.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002829/7.166, allocations: 1.941 MB / 3.921 GB, free: 58.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004065/7.17, allocations: 0.6897 MB / 3.922 GB, free: 58.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04045/7.21, allocations: 30.98 MB / 3.952 GB, free: 56.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/7.211, allocations: 1.699 MB / 3.954 GB, free: 55.65 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002596/7.214, allocations: 1.301 MB / 3.955 GB, free: 55.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/7.214, allocations: 113.9 kB / 3.955 GB, free: 55.61 MB / 490.7 MB Notification: Performance of SimCode: time 8.81e-07/7.214, allocations: 0 / 3.955 GB, free: 55.61 MB / 490.7 MB Notification: Performance of Templates: time 0.08836/7.302, allocations: 74.07 MB / 4.027 GB, free: 33.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)