Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.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.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 180.8 kB / 16.12 MB, free: 5.684 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.282/1.282, allocations: 223.3 MB / 240.1 MB, free: 9.977 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.0008229/0.000823, allocations: 96.62 kB / 291.3 MB, free: 10.57 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.002324/0.002324, allocations: 0.5585 MB / 343 MB, free: 6.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 9.281 kB / 404.2 MB, free: 65.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.08951, allocations: 50.56 MB / 454.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9291/1.019, allocations: 493.5 MB / 0.926 GB, free: 77.83 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/1.019, allocations: 87.95 kB / 0.9261 GB, free: 77.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.656/1.675, allocations: 255.9 MB / 1.176 GB, free: 6.242 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.675, allocations: 0 / 1.176 GB, free: 6.242 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.864e-05/1.675, allocations: 23.94 kB / 1.176 GB, free: 6.219 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.003237/1.678, allocations: 1.239 MB / 1.177 GB, free: 4.934 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.678, allocations: 8.031 kB / 1.177 GB, free: 4.926 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/1.68, allocations: 167.8 kB / 1.177 GB, free: 4.762 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/1.681, allocations: 0.6106 MB / 1.178 GB, free: 4.109 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/1.681, allocations: 181.7 kB / 1.178 GB, free: 3.906 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/1.681, allocations: 68 kB / 1.178 GB, free: 3.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/1.683, allocations: 1.112 MB / 1.179 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/1.683, allocations: 0 / 1.179 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.683, allocations: 32 kB / 1.179 GB, free: 2.586 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-05/1.683, allocations: 41.23 kB / 1.179 GB, free: 2.547 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/1.684, allocations: 0.766 MB / 1.18 GB, free: 1.781 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.2121/1.896, allocations: 5.695 MB / 1.186 GB, free: 74.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/1.897, allocations: 380.9 kB / 1.186 GB, free: 74.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/1.897, allocations: 217.8 kB / 1.186 GB, free: 74.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001914/1.897, allocations: 258.4 kB / 1.187 GB, free: 74.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/1.897, allocations: 45.66 kB / 1.187 GB, free: 74.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 3.196e-06/1.897, allocations: 0 / 1.187 GB, free: 74.46 MB / 458.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.009385/1.907, allocations: 3.026 MB / 1.19 GB, free: 73.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/1.907, allocations: 111.2 kB / 1.19 GB, free: 73.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008704/1.908, allocations: 0.6659 MB / 1.19 GB, free: 73.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.803e-05/1.908, allocations: 36.3 kB / 1.19 GB, free: 73.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/1.908, allocations: 471.4 kB / 1.191 GB, free: 73.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/1.908, allocations: 202.3 kB / 1.191 GB, free: 73.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/1.908, allocations: 23.94 kB / 1.191 GB, free: 73.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.012e-05/1.908, allocations: 394.2 kB / 1.191 GB, free: 72.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/1.909, allocations: 273.7 kB / 1.192 GB, free: 72.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/1.909, allocations: 0.7653 MB / 1.192 GB, free: 72.35 MB / 458.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/1.925, allocations: 3.542 MB / 1.196 GB, free: 71.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.925, allocations: 7.844 kB / 1.196 GB, free: 71.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001799/1.926, allocations: 1.203 MB / 1.197 GB, free: 71.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.927, allocations: 13.81 kB / 1.197 GB, free: 71.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.927, allocations: 18.03 kB / 1.197 GB, free: 71.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000887/1.927, allocations: 277.8 kB / 1.197 GB, free: 71.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/1.928, allocations: 212.8 kB / 1.198 GB, free: 71.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008173/1.929, allocations: 0.9238 MB / 1.198 GB, free: 71.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007589/1.93, allocations: 62.38 kB / 1.198 GB, free: 71.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.93, allocations: 99.08 kB / 1.199 GB, free: 71.02 MB / 458.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: V1.medium.p = V1.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * 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 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003997/1.93, allocations: 287.6 kB / 1.199 GB, free: 70.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/1.93, allocations: 83.41 kB / 1.199 GB, free: 70.87 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/1.933, allocations: 1.199 MB / 1.2 GB, free: 70.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.933, allocations: 6.156 kB / 1.2 GB, free: 70.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.933, allocations: 4.188 kB / 1.2 GB, free: 70.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.933, allocations: 3.562 kB / 1.2 GB, free: 70.77 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 postOpt removeSimpleEquations (simulation): time 0.003052/1.936, allocations: 1.995 MB / 1.202 GB, free: 70.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.936, allocations: 0.8438 kB / 1.202 GB, free: 70.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/1.936, allocations: 98.7 kB / 1.202 GB, free: 70.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/1.938, allocations: 296.8 kB / 1.202 GB, free: 70.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/1.938, allocations: 29.67 kB / 1.202 GB, free: 70.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008775/1.939, allocations: 0.8494 MB / 1.203 GB, free: 69.51 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.939, allocations: 3 kB / 1.203 GB, free: 69.51 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/1.94, allocations: 1.102 MB / 1.204 GB, free: 69.26 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/1.941, allocations: 225.7 kB / 1.205 GB, free: 69.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/1.941, allocations: 15.08 kB / 1.205 GB, free: 69.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/1.941, allocations: 39.11 kB / 1.205 GB, free: 69.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/1.942, allocations: 51.06 kB / 1.205 GB, free: 69.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-05/1.942, allocations: 67.8 kB / 1.205 GB, free: 69.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005642/1.942, allocations: 452.1 kB / 1.205 GB, free: 69.03 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.4e-07/1.942, allocations: 1.375 kB / 1.205 GB, free: 69.03 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001477/1.944, allocations: 435.2 kB / 1.206 GB, free: 69.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001843/1.946, allocations: 1.052 MB / 1.207 GB, free: 68.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/1.947, allocations: 0.7693 MB / 1.207 GB, free: 68.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.947, allocations: 1.438 kB / 1.207 GB, free: 68.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007879/1.948, allocations: 336.8 kB / 1.208 GB, free: 68.85 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/1.95, allocations: 374.7 kB / 1.208 GB, free: 68.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/1.953, allocations: 1.928 MB / 1.21 GB, free: 68.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/1.953, allocations: 0.9892 MB / 1.211 GB, free: 67.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001731/1.955, allocations: 0.5792 MB / 1.211 GB, free: 67.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/1.955, allocations: 130.7 kB / 1.212 GB, free: 67.31 MB / 458.7 MB Notification: Performance of SimCode: time 6.31e-07/1.955, allocations: 0 / 1.212 GB, free: 67.31 MB / 458.7 MB Notification: Performance of Templates: time 0.03853/1.994, allocations: 30 MB / 1.241 GB, free: 66.27 MB / 458.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)