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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004822/0.004822, allocations: 104.2 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 189.6 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002687/0.002687, allocations: 0.5622 MB / 291.1 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 60.59 kB / 402.4 MB, free: 9.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08249/0.08371, allocations: 49.6 MB / 452 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.3917/0.4755, allocations: 179.3 MB / 0.6166 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005112/0.4806, allocations: 3.174 MB / 0.6197 GB, free: 9.836 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008517/0.4815, allocations: 22.41 kB / 0.6197 GB, free: 9.828 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.4826, allocations: 403.4 kB / 0.6201 GB, free: 9.586 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003875/0.4866, allocations: 1.604 MB / 0.6216 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.4893, allocations: 1.12 MB / 0.6227 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.4921, allocations: 2.423 MB / 0.6251 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008598/0.493, allocations: 0.5982 MB / 0.6257 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001795/0.4948, allocations: 1.021 MB / 0.6267 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.4958, allocations: 0.7245 MB / 0.6274 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.496, allocations: 80.91 kB / 0.6275 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.4984, allocations: 1.027 MB / 0.6285 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003652/0.4988, allocations: 323.7 kB / 0.6288 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006277/0.4994, allocations: 495.5 kB / 0.6292 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002765/0.5022, allocations: 1.734 MB / 0.6309 GB, free: 3.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5022, allocations: 0 / 0.6309 GB, free: 3.852 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5022, allocations: 3.938 kB / 0.6309 GB, free: 3.848 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.5022, allocations: 0 / 0.6309 GB, free: 3.848 MB / 446.1 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.002592/0.5048, allocations: 1.304 MB / 0.6322 GB, free: 2.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.5049, allocations: 14.08 kB / 0.6322 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.506, allocations: 170.1 kB / 0.6324 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009023/0.5069, allocations: 0.5889 MB / 0.633 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.5071, allocations: 183.9 kB / 0.6331 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.5072, allocations: 65.38 kB / 0.6332 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.5088, allocations: 1.093 MB / 0.6343 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.5088, allocations: 2.188 kB / 0.6343 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.509, allocations: 32.62 kB / 0.6343 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-05/0.509, allocations: 43.2 kB / 0.6344 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.5103, allocations: 0.784 MB / 0.6351 GB, free: 0.6641 MB / 446.1 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.006061/0.5164, allocations: 5.701 MB / 0.6407 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.5171, allocations: 391.3 kB / 0.6411 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.5175, allocations: 228.8 kB / 0.6413 GB, free: 9.992 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.5177, allocations: 262 kB / 0.6415 GB, free: 9.684 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.5178, allocations: 46.56 kB / 0.6416 GB, free: 9.629 MB / 462.1 MB Notification: Performance of pre-optimization done (n=44): time 2.355e-06/0.5178, allocations: 0 / 0.6416 GB, free: 9.629 MB / 462.1 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.0102/0.528, allocations: 3 MB / 0.6445 GB, free: 6.547 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.5281, allocations: 111.4 kB / 0.6446 GB, free: 6.414 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000815/0.5289, allocations: 0.6719 MB / 0.6453 GB, free: 5.734 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.529, allocations: 41.7 kB / 0.6453 GB, free: 5.688 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.5293, allocations: 465.8 kB / 0.6457 GB, free: 5.234 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.5295, allocations: 199.7 kB / 0.6459 GB, free: 5.039 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.5298, allocations: 230.7 kB / 0.6462 GB, free: 4.809 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5299, allocations: 386.8 kB / 0.6465 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.5304, allocations: 282.5 kB / 0.6468 GB, free: 4.145 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007877/0.5312, allocations: 0.7669 MB / 0.6475 GB, free: 3.145 MB / 462.1 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.01594/0.5472, allocations: 3.309 MB / 0.6508 GB, free: 15.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.5472, allocations: 11.94 kB / 0.6508 GB, free: 15.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002011/0.5492, allocations: 1.226 MB / 0.652 GB, free: 14.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.5493, allocations: 12 kB / 0.652 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.5493, allocations: 19.94 kB / 0.652 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008567/0.5502, allocations: 268.7 kB / 0.6523 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.5508, allocations: 215.7 kB / 0.6525 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008961/0.5517, allocations: 0.901 MB / 0.6534 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.5523, allocations: 40 kB / 0.6534 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.5524, allocations: 99.97 kB / 0.6535 GB, free: 12.77 MB / 478.1 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.000422/0.5529, allocations: 290 kB / 0.6538 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.553, allocations: 79.06 kB / 0.6538 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.5552, allocations: 1.202 MB / 0.655 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.5552, allocations: 15.94 kB / 0.655 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5552, allocations: 0 / 0.655 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.5553, allocations: 3.984 kB / 0.655 GB, free: 11.16 MB / 478.1 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.002952/0.5582, allocations: 1.986 MB / 0.657 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5582, allocations: 0 / 0.657 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.5586, allocations: 95.89 kB / 0.6571 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.56, allocations: 284.6 kB / 0.6573 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-05/0.5601, allocations: 31.98 kB / 0.6574 GB, free: 8.637 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009039/0.561, allocations: 0.8319 MB / 0.6582 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.561, allocations: 4 kB / 0.6582 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.563, allocations: 1.141 MB / 0.6593 GB, free: 6.605 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.5633, allocations: 212.1 kB / 0.6595 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.5634, allocations: 12 kB / 0.6595 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.5639, allocations: 27.92 kB / 0.6595 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.564, allocations: 48.5 kB / 0.6596 GB, free: 6.293 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.185e-05/0.5641, allocations: 63.97 kB / 0.6596 GB, free: 6.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005479/0.5646, allocations: 479 kB / 0.6601 GB, free: 5.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5646, allocations: 0 / 0.6601 GB, free: 5.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001133/0.5658, allocations: 347.9 kB / 0.6604 GB, free: 5.43 MB / 478.1 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.0009096/0.5667, allocations: 392.7 kB / 0.6608 GB, free: 5.062 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.5682, allocations: 0.785 MB / 0.6616 GB, free: 4.281 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5682, allocations: 9.359 kB / 0.6616 GB, free: 4.273 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007909/0.569, allocations: 347.2 kB / 0.6619 GB, free: 3.938 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.5709, allocations: 399.5 kB / 0.6623 GB, free: 3.547 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.5733, allocations: 1.604 MB / 0.6639 GB, free: 1.906 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.5738, allocations: 0.9907 MB / 0.6648 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001163/0.575, allocations: 0.5878 MB / 0.6654 GB, free: 312 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.5753, allocations: 127.4 kB / 0.6655 GB, free: 184 kB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5753, allocations: 4 kB / 0.6655 GB, free: 180 kB / 478.1 MB Notification: Performance of Templates: time 0.03187/0.6072, allocations: 21.09 MB / 0.6861 GB, free: 11.33 MB / 0.4981 GB 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)