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.007451/0.007451, allocations: 172 kB / 15.11 MB, free: 5.969 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.65/1.65, allocations: 223.2 MB / 239 MB, free: 88 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 98.81 kB / 290.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002431/0.002431, allocations: 0.5546 MB / 341.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 8 kB / 402.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.363, allocations: 50.55 MB / 453.5 MB, free: 80.1 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.306/6.669, allocations: 2.828 GB / 3.271 GB, free: 137.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/6.67, allocations: 82.16 kB / 3.271 GB, free: 137.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.788/8.457, allocations: 0.4913 GB / 3.763 GB, free: 9.645 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.524e-06/8.458, allocations: 0 / 3.763 GB, free: 9.645 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000112/8.458, allocations: 42.67 kB / 3.763 GB, free: 9.605 MB / 474.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.01316/8.471, allocations: 3.08 MB / 3.766 GB, free: 6.477 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/8.471, allocations: 11.97 kB / 3.766 GB, free: 6.465 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004688/8.476, allocations: 0.584 MB / 3.766 GB, free: 5.883 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004716/8.48, allocations: 1.48 MB / 3.768 GB, free: 4.371 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/8.481, allocations: 144.2 kB / 3.768 GB, free: 4.234 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003041/8.481, allocations: 135.9 kB / 3.768 GB, free: 4.102 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005939/8.487, allocations: 2.744 MB / 3.771 GB, free: 1.219 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.289e-05/8.487, allocations: 7.938 kB / 3.771 GB, free: 1.211 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/8.487, allocations: 59.98 kB / 3.771 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/8.487, allocations: 110.5 kB / 3.771 GB, free: 1.043 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4686/8.956, allocations: 2.687 MB / 3.774 GB, free: 49.91 MB / 474.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.01413/8.97, allocations: 10.91 MB / 3.784 GB, free: 43.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003971/8.974, allocations: 1.825 MB / 3.786 GB, free: 43.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1374/9.111, allocations: 61.71 MB / 3.846 GB, free: 25.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004517/9.116, allocations: 1.423 MB / 3.848 GB, free: 25.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=127): time 7.033e-06/9.116, allocations: 4 kB / 3.848 GB, free: 25.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=151): time 0.02395/9.14, allocations: 8.348 MB / 3.856 GB, free: 24.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000273/9.14, allocations: 276.6 kB / 3.856 GB, free: 23.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/9.143, allocations: 0.8986 MB / 3.857 GB, free: 23.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004267/9.143, allocations: 54.7 kB / 3.857 GB, free: 23.51 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008663/9.144, allocations: 0.6675 MB / 3.858 GB, free: 23.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008178/9.145, allocations: 0.5171 MB / 3.858 GB, free: 22.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/9.145, allocations: 33.72 kB / 3.858 GB, free: 22.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002539/9.145, allocations: 385.7 kB / 3.859 GB, free: 22.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/9.147, allocations: 1.004 MB / 3.859 GB, free: 22.67 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002208/9.15, allocations: 1.505 MB / 3.861 GB, free: 22.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05299/9.203, allocations: 10.01 MB / 3.871 GB, free: 21.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-05/9.203, allocations: 4.641 kB / 3.871 GB, free: 21.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.007903/9.211, allocations: 3.43 MB / 3.874 GB, free: 21.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002568/9.213, allocations: 5.659 MB / 3.88 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.23e-05/9.213, allocations: 14.16 kB / 3.88 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/9.225, allocations: 2.598 MB / 3.882 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/9.226, allocations: 274.6 kB / 3.882 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006354/9.232, allocations: 3.272 MB / 3.886 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/9.235, allocations: 211.9 kB / 3.886 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003756/9.235, allocations: 92.61 kB / 3.886 GB, free: 14.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/9.235, allocations: 3.531 kB / 3.886 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006565/9.242, allocations: 3.248 MB / 3.889 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.993e-05/9.242, allocations: 14.34 kB / 3.889 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007488/9.249, allocations: 2.008 MB / 3.891 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/9.251, allocations: 296.9 kB / 3.891 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004657/9.255, allocations: 2.992 MB / 3.894 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/9.257, allocations: 205.8 kB / 3.894 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003789/9.258, allocations: 91.36 kB / 3.895 GB, free: 13.89 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[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 (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.001767/9.26, allocations: 0.6055 MB / 3.895 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005511/9.26, allocations: 137.8 kB / 3.895 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00863/9.269, allocations: 5.828 MB / 3.901 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.743e-05/9.269, allocations: 52.2 kB / 3.901 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.308e-05/9.269, allocations: 5.125 kB / 3.901 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006072/9.275, allocations: 4.727 MB / 3.906 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/9.289, allocations: 8.188 MB / 3.914 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/9.289, allocations: 3.188 kB / 3.914 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/9.29, allocations: 252.5 kB / 3.914 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004471/9.294, allocations: 1.284 MB / 3.915 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/9.295, allocations: 51.2 kB / 3.915 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/9.298, allocations: 2.197 MB / 3.917 GB, free: 27.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/9.298, allocations: 4.844 kB / 3.917 GB, free: 27.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008632/9.307, allocations: 5.786 MB / 3.923 GB, free: 23.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001926/9.309, allocations: 0.6126 MB / 3.924 GB, free: 23.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006488/9.309, allocations: 42.2 kB / 3.924 GB, free: 23.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/9.311, allocations: 173.8 kB / 3.924 GB, free: 23.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/9.312, allocations: 157.5 kB / 3.924 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/9.312, allocations: 54.56 kB / 3.924 GB, free: 22.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001914/9.314, allocations: 0.9567 MB / 3.925 GB, free: 22.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.51e-07/9.314, allocations: 0.9375 kB / 3.925 GB, free: 22.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01206/9.326, allocations: 2.137 MB / 3.927 GB, free: 20.16 MB / 0.4948 GB 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.01262/9.338, allocations: 2 MB / 3.929 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01034/9.349, allocations: 4.347 MB / 3.933 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/9.349, allocations: 8.062 kB / 3.933 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003962/9.353, allocations: 1.931 MB / 3.935 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/9.357, allocations: 0.6823 MB / 3.936 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4954/9.853, allocations: 62.61 MB / 3.997 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/9.855, allocations: 1.75 MB / 3.999 GB, free: 71.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003653/9.859, allocations: 1.297 MB / 4 GB, free: 71.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/9.86, allocations: 122.6 kB / 4 GB, free: 71.12 MB / 0.4948 GB Notification: Performance of SimCode: time 2.525e-06/9.86, allocations: 3.781 kB / 4 GB, free: 71.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.116/9.976, allocations: 72.25 MB / 4.071 GB, free: 65.89 MB / 0.4948 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)