Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.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.ConsistentInitialization.Fluid.TwoVolumesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001231/0.001231, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002531/0.002531, allocations: 0.569 MB / 291.8 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.91 kB / 403.1 MB, free: 32.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07625/0.07738, allocations: 49.59 MB / 452.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.3759/0.4534, allocations: 179.3 MB / 0.6172 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005316/0.4587, allocations: 3.176 MB / 0.6203 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008515/0.4596, allocations: 23.88 kB / 0.6203 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.4608, allocations: 397.4 kB / 0.6207 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0039/0.4647, allocations: 1.597 MB / 0.6223 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.4672, allocations: 1.106 MB / 0.6234 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.4695, allocations: 2.423 MB / 0.6257 GB, free: 6.227 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000796/0.4703, allocations: 0.5918 MB / 0.6263 GB, free: 5.625 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.4719, allocations: 1.012 MB / 0.6273 GB, free: 4.609 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008633/0.4727, allocations: 0.7278 MB / 0.628 GB, free: 3.879 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.4729, allocations: 80 kB / 0.6281 GB, free: 3.801 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.4747, allocations: 1.022 MB / 0.6291 GB, free: 2.777 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.475, allocations: 327.1 kB / 0.6294 GB, free: 2.457 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004364/0.4755, allocations: 489.8 kB / 0.6299 GB, free: 1.977 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.4774, allocations: 1.73 MB / 0.6315 GB, free: 248 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.4774, allocations: 0 / 0.6315 GB, free: 248 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4774, allocations: 4 kB / 0.6316 GB, free: 244 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.4774, allocations: 0 / 0.6316 GB, free: 244 kB / 462.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.002242/0.4797, allocations: 1.302 MB / 0.6328 GB, free: 14.88 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.4797, allocations: 12.03 kB / 0.6328 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.4807, allocations: 162.9 kB / 0.633 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.4815, allocations: 0.5975 MB / 0.6336 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.4817, allocations: 176.8 kB / 0.6337 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.4818, allocations: 72 kB / 0.6338 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.4833, allocations: 1.088 MB / 0.6349 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.4833, allocations: 11.97 kB / 0.6349 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.4834, allocations: 32 kB / 0.6349 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.554e-05/0.4835, allocations: 41.25 kB / 0.635 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.4846, allocations: 0.7816 MB / 0.6357 GB, free: 11.75 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 preOpt removeSimpleEquations (simulation): time 0.004945/0.4896, allocations: 5.706 MB / 0.6413 GB, free: 5.656 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.4902, allocations: 404.6 kB / 0.6417 GB, free: 5.254 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.4905, allocations: 212.8 kB / 0.6419 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.4907, allocations: 271.3 kB / 0.6421 GB, free: 4.723 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.4908, allocations: 38.56 kB / 0.6422 GB, free: 4.676 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 1.613e-06/0.4908, allocations: 0 / 0.6422 GB, free: 4.676 MB / 478.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.009293/0.5001, allocations: 2.999 MB / 0.6451 GB, free: 1.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.5001, allocations: 115.3 kB / 0.6452 GB, free: 1.453 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006889/0.5008, allocations: 0.6836 MB / 0.6459 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/0.5009, allocations: 37.7 kB / 0.6459 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.5012, allocations: 458 kB / 0.6464 GB, free: 272 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.5013, allocations: 205.2 kB / 0.6465 GB, free: 64 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/0.5016, allocations: 230.7 kB / 0.6468 GB, free: 15.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5017, allocations: 386.8 kB / 0.6471 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.5022, allocations: 278.5 kB / 0.6474 GB, free: 15.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/0.5029, allocations: 0.7708 MB / 0.6482 GB, free: 14.16 MB / 494.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.01498/0.5178, allocations: 3.306 MB / 0.6514 GB, free: 10.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.5179, allocations: 8 kB / 0.6514 GB, free: 10.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001804/0.5197, allocations: 1.225 MB / 0.6526 GB, free: 9.371 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.5197, allocations: 12 kB / 0.6526 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.5197, allocations: 16 kB / 0.6526 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008285/0.5206, allocations: 273.1 kB / 0.6529 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.5211, allocations: 212.7 kB / 0.6531 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008416/0.522, allocations: 0.9022 MB / 0.654 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.5226, allocations: 40.03 kB / 0.654 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.5227, allocations: 99.92 kB / 0.6541 GB, free: 7.805 MB / 494.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.0004077/0.5231, allocations: 292.1 kB / 0.6544 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.5233, allocations: 79.06 kB / 0.6544 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.5254, allocations: 1.208 MB / 0.6556 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.5254, allocations: 7.938 kB / 0.6556 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5254, allocations: 0 / 0.6556 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5254, allocations: 3.984 kB / 0.6556 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.5282, allocations: 1.989 MB / 0.6576 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5282, allocations: 0 / 0.6576 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.5285, allocations: 91.89 kB / 0.6577 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.5299, allocations: 288.5 kB / 0.6579 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.5299, allocations: 31.98 kB / 0.658 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008553/0.5308, allocations: 0.8372 MB / 0.6588 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5308, allocations: 0 / 0.6588 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.5326, allocations: 1.127 MB / 0.6599 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.5329, allocations: 216.1 kB / 0.6601 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.533, allocations: 15.94 kB / 0.6601 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.5335, allocations: 24 kB / 0.6601 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.5335, allocations: 48.69 kB / 0.6602 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/0.5336, allocations: 63.97 kB / 0.6602 GB, free: 1.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000491/0.5341, allocations: 475 kB / 0.6607 GB, free: 0.793 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5341, allocations: 4 kB / 0.6607 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001036/0.5352, allocations: 347.9 kB / 0.661 GB, free: 460 kB / 494.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.0009373/0.5361, allocations: 407.7 kB / 0.6614 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.5375, allocations: 0.7943 MB / 0.6622 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5376, allocations: 7.984 kB / 0.6622 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007249/0.5383, allocations: 338.9 kB / 0.6625 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.54, allocations: 413.5 kB / 0.6629 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.5427, allocations: 1.636 MB / 0.6645 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.5432, allocations: 0.9868 MB / 0.6655 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/0.5437, allocations: 159.4 kB / 0.6656 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.5437, allocations: 4 kB / 0.6656 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.02095/0.5646, allocations: 18.54 MB / 0.6837 GB, free: 9.219 MB / 0.5137 GB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)