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.001054/0.001054, allocations: 109.4 kB / 16.41 MB, free: 6.492 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.0009429/0.0009429, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.16 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.002564/0.002564, allocations: 0.5621 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 55.91 kB / 403.1 MB, free: 32.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07318/0.07435, allocations: 49.59 MB / 452.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.3485/0.4229, allocations: 179.4 MB / 0.6172 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004835/0.4278, allocations: 3.182 MB / 0.6203 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004117/0.4283, allocations: 19.88 kB / 0.6204 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009057/0.4292, allocations: 401.4 kB / 0.6207 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.4324, allocations: 1.603 MB / 0.6223 GB, free: 9.812 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.4347, allocations: 1.103 MB / 0.6234 GB, free: 8.715 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.4369, allocations: 2.411 MB / 0.6257 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006635/0.4376, allocations: 0.5965 MB / 0.6263 GB, free: 5.691 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.4389, allocations: 1.008 MB / 0.6273 GB, free: 4.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000835/0.4397, allocations: 0.7356 MB / 0.628 GB, free: 3.941 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.4399, allocations: 80 kB / 0.6281 GB, free: 3.863 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.4416, allocations: 1.026 MB / 0.6291 GB, free: 2.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.4419, allocations: 323.1 kB / 0.6294 GB, free: 2.523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.4423, allocations: 493.8 kB / 0.6299 GB, free: 2.039 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.4441, allocations: 1.734 MB / 0.6316 GB, free: 308 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4441, allocations: 4 kB / 0.6316 GB, free: 304 kB / 462.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.4441, allocations: 3.984 kB / 0.6316 GB, free: 300 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.4441, allocations: 0 / 0.6316 GB, free: 300 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.002157/0.4463, allocations: 1.298 MB / 0.6329 GB, free: 14.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.4463, allocations: 11.89 kB / 0.6329 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009837/0.4473, allocations: 162.9 kB / 0.633 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.4481, allocations: 0.5975 MB / 0.6336 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.4482, allocations: 184.7 kB / 0.6338 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.4483, allocations: 68 kB / 0.6338 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.4498, allocations: 1.087 MB / 0.6349 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.4498, allocations: 4 kB / 0.6349 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.239e-05/0.4499, allocations: 28 kB / 0.6349 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.4499, allocations: 48.31 kB / 0.635 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.4511, allocations: 0.7816 MB / 0.6357 GB, free: 11.82 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.004856/0.4559, allocations: 5.714 MB / 0.6413 GB, free: 5.711 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.4566, allocations: 400.6 kB / 0.6417 GB, free: 5.312 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.4569, allocations: 220.8 kB / 0.6419 GB, free: 5.094 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.4571, allocations: 263.3 kB / 0.6422 GB, free: 4.781 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.4571, allocations: 38.56 kB / 0.6422 GB, free: 4.734 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 1.814e-06/0.4571, allocations: 0 / 0.6422 GB, free: 4.734 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.009006/0.4661, allocations: 3.003 MB / 0.6451 GB, free: 1.645 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.4662, allocations: 111.4 kB / 0.6452 GB, free: 1.512 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006421/0.4668, allocations: 0.6836 MB / 0.6459 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/0.4669, allocations: 37.7 kB / 0.6459 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.4672, allocations: 458 kB / 0.6464 GB, free: 332 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.4673, allocations: 205.2 kB / 0.6466 GB, free: 124 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.4676, allocations: 230.8 kB / 0.6468 GB, free: 15.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4677, allocations: 382.8 kB / 0.6472 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.4681, allocations: 286.5 kB / 0.6474 GB, free: 15.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.4688, allocations: 0.763 MB / 0.6482 GB, free: 14.23 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.01447/0.4833, allocations: 3.308 MB / 0.6514 GB, free: 10.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.4833, allocations: 4 kB / 0.6514 GB, free: 10.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001711/0.485, allocations: 1.229 MB / 0.6526 GB, free: 9.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4851, allocations: 12 kB / 0.6526 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.4851, allocations: 16 kB / 0.6526 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008077/0.4859, allocations: 273.2 kB / 0.6529 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.4865, allocations: 211.6 kB / 0.6531 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008039/0.4873, allocations: 0.9062 MB / 0.654 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.4878, allocations: 40 kB / 0.654 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.4879, allocations: 103.9 kB / 0.6541 GB, free: 7.855 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.0003543/0.4883, allocations: 282.1 kB / 0.6544 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.4884, allocations: 83.06 kB / 0.6545 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.4904, allocations: 1.202 MB / 0.6557 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.4905, allocations: 15.92 kB / 0.6557 GB, free: 6.254 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4905, allocations: 0 / 0.6557 GB, free: 6.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4905, allocations: 3.984 kB / 0.6557 GB, free: 6.25 MB / 494.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.002539/0.493, allocations: 1.985 MB / 0.6576 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.493, allocations: 4 kB / 0.6576 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.4933, allocations: 95.83 kB / 0.6577 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.4947, allocations: 284 kB / 0.658 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/0.4947, allocations: 31.98 kB / 0.658 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007949/0.4955, allocations: 0.8372 MB / 0.6588 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4955, allocations: 0 / 0.6588 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.4973, allocations: 1.135 MB / 0.6599 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.4975, allocations: 208.1 kB / 0.6601 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.4976, allocations: 20 kB / 0.6602 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.4981, allocations: 19.98 kB / 0.6602 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.4982, allocations: 52.5 kB / 0.6602 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-05/0.4982, allocations: 59.98 kB / 0.6603 GB, free: 1.312 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005969/0.4988, allocations: 475 kB / 0.6607 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4989, allocations: 0 / 0.6607 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001211/0.5001, allocations: 355.8 kB / 0.6611 GB, free: 0.5078 MB / 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.0008561/0.5009, allocations: 396 kB / 0.6614 GB, free: 124 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.5022, allocations: 0.7905 MB / 0.6622 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.5023, allocations: 11.86 kB / 0.6622 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007042/0.503, allocations: 338.9 kB / 0.6626 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.5047, allocations: 414.2 kB / 0.6629 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.5069, allocations: 1.634 MB / 0.6645 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.5074, allocations: 0.9869 MB / 0.6655 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.5078, allocations: 159.3 kB / 0.6657 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.5078, allocations: 4 kB / 0.6657 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.02003/0.5278, allocations: 18.57 MB / 0.6838 GB, free: 9.266 MB / 0.5137 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)