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-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.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.001066/0.001066, allocations: 182.2 kB / 15.98 MB, free: 5.77 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.423/1.423, allocations: 222.9 MB / 239.6 MB, free: 10.98 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.0009926/0.0009926, allocations: 101.9 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002747/0.002747, allocations: 0.5611 MB / 340.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009899/0.00099, allocations: 55.25 kB / 400.9 MB, free: 66.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.077/0.078, allocations: 49.6 MB / 450.5 MB, free: 16.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.3452/0.4233, allocations: 177.7 MB / 0.6135 GB, free: 6.738 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005702/0.429, allocations: 3.354 MB / 0.6168 GB, free: 3.379 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007606/0.4298, allocations: 31.75 kB / 0.6168 GB, free: 3.348 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009768/0.4308, allocations: 358.1 kB / 0.6171 GB, free: 2.996 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00389/0.4348, allocations: 1.446 MB / 0.6185 GB, free: 1.547 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.4377, allocations: 0.9916 MB / 0.6195 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003774/0.4415, allocations: 3.442 MB / 0.6229 GB, free: 13.11 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007645/0.4422, allocations: 0.5209 MB / 0.6234 GB, free: 12.58 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.4438, allocations: 0.903 MB / 0.6243 GB, free: 11.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.4452, allocations: 0.7668 MB / 0.625 GB, free: 10.91 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.4454, allocations: 44 kB / 0.625 GB, free: 10.86 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.4476, allocations: 0.9125 MB / 0.6259 GB, free: 9.949 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003826/0.448, allocations: 295.1 kB / 0.6262 GB, free: 9.66 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005645/0.4486, allocations: 461.8 kB / 0.6267 GB, free: 9.207 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.451, allocations: 1.706 MB / 0.6283 GB, free: 7.496 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.451, allocations: 3.938 kB / 0.6283 GB, free: 7.492 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.451, allocations: 0 / 0.6283 GB, free: 7.492 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.451, allocations: 0 / 0.6283 GB, free: 7.492 MB / 442.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.002514/0.4535, allocations: 1.294 MB / 0.6296 GB, free: 6.148 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.4536, allocations: 12.03 kB / 0.6296 GB, free: 6.137 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009888/0.4546, allocations: 170.8 kB / 0.6298 GB, free: 5.969 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009137/0.4555, allocations: 0.5586 MB / 0.6303 GB, free: 5.367 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.4557, allocations: 180.8 kB / 0.6305 GB, free: 5.164 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.4558, allocations: 71.91 kB / 0.6306 GB, free: 5.094 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.4574, allocations: 1.102 MB / 0.6316 GB, free: 3.891 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.4574, allocations: 7.938 kB / 0.6316 GB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.4575, allocations: 36 kB / 0.6317 GB, free: 3.848 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/0.4576, allocations: 29.31 kB / 0.6317 GB, free: 3.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.4588, allocations: 0.7855 MB / 0.6325 GB, free: 3.035 MB / 442.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.163/0.6218, allocations: 5.71 MB / 0.638 GB, free: 162.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007954/0.6226, allocations: 390.7 kB / 0.6384 GB, free: 162.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.623, allocations: 226 kB / 0.6386 GB, free: 162.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.6232, allocations: 259.7 kB / 0.6389 GB, free: 162.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.6233, allocations: 42.64 kB / 0.6389 GB, free: 162.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.464e-06/0.6233, allocations: 0 / 0.6389 GB, free: 162.3 MB / 442.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.009845/0.6331, allocations: 2.998 MB / 0.6419 GB, free: 161.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.6332, allocations: 115.7 kB / 0.642 GB, free: 161 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007595/0.634, allocations: 0.6745 MB / 0.6426 GB, free: 160.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.634, allocations: 42.08 kB / 0.6427 GB, free: 160.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.6342, allocations: 465.5 kB / 0.6431 GB, free: 160.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.6344, allocations: 204.7 kB / 0.6433 GB, free: 160.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.6347, allocations: 226.5 kB / 0.6435 GB, free: 160.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.6348, allocations: 388.7 kB / 0.6439 GB, free: 159.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.6352, allocations: 285.9 kB / 0.6442 GB, free: 159.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/0.6359, allocations: 0.7621 MB / 0.6449 GB, free: 158.9 MB / 442.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.01529/0.6512, allocations: 3.308 MB / 0.6481 GB, free: 157.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.6512, allocations: 5.594 kB / 0.6481 GB, free: 157.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001968/0.6532, allocations: 1.216 MB / 0.6493 GB, free: 157.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.6532, allocations: 11.97 kB / 0.6493 GB, free: 157.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.6532, allocations: 17.09 kB / 0.6494 GB, free: 157.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008423/0.6541, allocations: 277.1 kB / 0.6496 GB, free: 157.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.6546, allocations: 210.3 kB / 0.6498 GB, free: 157.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008046/0.6555, allocations: 0.906 MB / 0.6507 GB, free: 156.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008629/0.6563, allocations: 70.7 kB / 0.6508 GB, free: 156.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.6565, allocations: 95.8 kB / 0.6509 GB, free: 156.5 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004174/0.6569, allocations: 294.5 kB / 0.6511 GB, free: 156.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.6571, allocations: 75.34 kB / 0.6512 GB, free: 156.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.6593, allocations: 1.21 MB / 0.6524 GB, free: 155.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.6593, allocations: 5.562 kB / 0.6524 GB, free: 155.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6593, allocations: 1.781 kB / 0.6524 GB, free: 155.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.6594, allocations: 3.844 kB / 0.6524 GB, free: 155.8 MB / 442.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.002772/0.6621, allocations: 1.993 MB / 0.6544 GB, free: 154.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6622, allocations: 5.406 kB / 0.6544 GB, free: 154.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.6624, allocations: 100.7 kB / 0.6545 GB, free: 154.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.6639, allocations: 277.4 kB / 0.6547 GB, free: 154.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/0.664, allocations: 31.73 kB / 0.6547 GB, free: 154.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008946/0.6649, allocations: 0.8469 MB / 0.6556 GB, free: 153.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6649, allocations: 0 / 0.6556 GB, free: 153.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03759/0.7025, allocations: 10.97 MB / 0.6663 GB, free: 144.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.7029, allocations: 220.2 kB / 0.6665 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.703, allocations: 19.92 kB / 0.6665 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004909/0.7035, allocations: 31.98 kB / 0.6665 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.7036, allocations: 56.5 kB / 0.6666 GB, free: 144 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.7036, allocations: 67.91 kB / 0.6667 GB, free: 144 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004513/0.7041, allocations: 471 kB / 0.6671 GB, free: 143.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7041, allocations: 3.172 kB / 0.6671 GB, free: 143.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001945/0.7061, allocations: 0.6384 MB / 0.6677 GB, free: 142.9 MB / 442.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001606/0.7077, allocations: 447.9 kB / 0.6682 GB, free: 142.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.7089, allocations: 0.7831 MB / 0.6689 GB, free: 141.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.709, allocations: 4 kB / 0.6689 GB, free: 141.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006714/0.7096, allocations: 338.5 kB / 0.6693 GB, free: 141.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.7114, allocations: 404.7 kB / 0.6696 GB, free: 141 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.7144, allocations: 2.557 MB / 0.6721 GB, free: 138.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.7147, allocations: 1.011 MB / 0.6731 GB, free: 137.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001669/0.7164, allocations: 0.6743 MB / 0.6738 GB, free: 136.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/0.717, allocations: 195.3 kB / 0.674 GB, free: 136.5 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.717, allocations: 4 kB / 0.674 GB, free: 136.5 MB / 442.7 MB Notification: Performance of Templates: time 0.03702/0.754, allocations: 35.37 MB / 0.7085 GB, free: 101.3 MB / 442.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)