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.001081/0.001082, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001059/0.001059, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.298/1.298, 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.002571/0.002571, allocations: 0.5592 MB / 291.7 MB, free: 14.2 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 353 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1733, allocations: 49.59 MB / 402.6 MB, free: 35.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.3177/0.491, allocations: 179.3 MB / 0.5683 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004818/0.4959, allocations: 3.174 MB / 0.5714 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004627/0.4963, allocations: 23 kB / 0.5714 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009158/0.4973, allocations: 404.2 kB / 0.5718 GB, free: 8.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.5007, allocations: 1.585 MB / 0.5734 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.5031, allocations: 1.111 MB / 0.5744 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002271/0.5054, allocations: 2.416 MB / 0.5768 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000713/0.5061, allocations: 0.5942 MB / 0.5774 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.5075, allocations: 0.9987 MB / 0.5784 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008176/0.5083, allocations: 0.7358 MB / 0.5791 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.5085, allocations: 80.59 kB / 0.5792 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.5103, allocations: 1.022 MB / 0.5802 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.5106, allocations: 327.1 kB / 0.5805 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.5111, allocations: 489.4 kB / 0.5809 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.5131, allocations: 1.734 MB / 0.5826 GB, free: 1.699 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5131, allocations: 0 / 0.5826 GB, free: 1.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5131, allocations: 0 / 0.5826 GB, free: 1.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.5131, allocations: 7.938 kB / 0.5826 GB, free: 1.691 MB / 398.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.002413/0.5155, allocations: 1.303 MB / 0.5839 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.5156, allocations: 11.89 kB / 0.5839 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.5166, allocations: 162.9 kB / 0.5841 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.5177, allocations: 0.5952 MB / 0.5847 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.5179, allocations: 179.8 kB / 0.5848 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.518, allocations: 68 kB / 0.5849 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.5196, allocations: 1.089 MB / 0.586 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.5196, allocations: 7.938 kB / 0.586 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.091e-05/0.5197, allocations: 32 kB / 0.586 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.5198, allocations: 41.22 kB / 0.586 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.521, allocations: 0.7933 MB / 0.5868 GB, free: 13.23 MB / 414.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.005723/0.5268, allocations: 5.697 MB / 0.5924 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.5275, allocations: 392.5 kB / 0.5927 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.5278, allocations: 228.4 kB / 0.593 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.5281, allocations: 265.9 kB / 0.5932 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.5281, allocations: 38.56 kB / 0.5933 GB, free: 6.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 1.633e-06/0.5281, allocations: 0 / 0.5933 GB, free: 6.203 MB / 414.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.009639/0.5378, allocations: 3 MB / 0.5962 GB, free: 3.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.5379, allocations: 111.4 kB / 0.5963 GB, free: 2.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007244/0.5386, allocations: 0.6759 MB / 0.5969 GB, free: 2.301 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.5387, allocations: 41.64 kB / 0.597 GB, free: 2.254 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.539, allocations: 465.9 kB / 0.5974 GB, free: 1.797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.5391, allocations: 201.4 kB / 0.5976 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002888/0.5394, allocations: 230.7 kB / 0.5978 GB, free: 1.371 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5396, allocations: 386.8 kB / 0.5982 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.5401, allocations: 282.5 kB / 0.5985 GB, free: 0.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007822/0.5408, allocations: 0.7669 MB / 0.5992 GB, free: 15.71 MB / 430.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.01541/0.5563, allocations: 3.311 MB / 0.6025 GB, free: 12.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.5563, allocations: 4 kB / 0.6025 GB, free: 12.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001972/0.5583, allocations: 1.226 MB / 0.6037 GB, free: 10.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.5583, allocations: 12 kB / 0.6037 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.5583, allocations: 16 kB / 0.6037 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008983/0.5592, allocations: 276.3 kB / 0.604 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/0.5598, allocations: 211.6 kB / 0.6042 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009212/0.5608, allocations: 0.9002 MB / 0.605 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005951/0.5614, allocations: 36 kB / 0.6051 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.5615, allocations: 99.97 kB / 0.6052 GB, free: 9.352 MB / 430.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.0004018/0.5619, allocations: 301.5 kB / 0.6055 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.5621, allocations: 79.06 kB / 0.6055 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.5643, allocations: 1.202 MB / 0.6067 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.5643, allocations: 11.92 kB / 0.6067 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5643, allocations: 4 kB / 0.6067 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5643, allocations: 0 / 0.6067 GB, free: 7.742 MB / 430.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.003019/0.5674, allocations: 1.982 MB / 0.6087 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5674, allocations: 0 / 0.6087 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.5677, allocations: 95.89 kB / 0.6087 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.5692, allocations: 288.5 kB / 0.609 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/0.5692, allocations: 27.98 kB / 0.609 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000893/0.5701, allocations: 0.8351 MB / 0.6099 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.5701, allocations: 8 kB / 0.6099 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.572, allocations: 1.127 MB / 0.611 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.5724, allocations: 220 kB / 0.6112 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.5726, allocations: 15.98 kB / 0.6112 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.573, allocations: 20 kB / 0.6112 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/0.5731, allocations: 56.44 kB / 0.6113 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.36e-05/0.5732, allocations: 63.97 kB / 0.6113 GB, free: 2.812 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005488/0.5738, allocations: 475 kB / 0.6118 GB, free: 2.352 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5738, allocations: 0 / 0.6118 GB, free: 2.352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001111/0.5749, allocations: 351.9 kB / 0.6121 GB, free: 2.008 MB / 430.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.0008959/0.5758, allocations: 392 kB / 0.6125 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.5773, allocations: 0.7865 MB / 0.6133 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/0.5773, allocations: 0 / 0.6133 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007881/0.5781, allocations: 347.1 kB / 0.6136 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.5798, allocations: 429.3 kB / 0.614 GB, free: 112 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.5823, allocations: 1.617 MB / 0.6156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.5829, allocations: 0.9829 MB / 0.6165 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00119/0.5841, allocations: 0.5776 MB / 0.6171 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.5844, allocations: 131.4 kB / 0.6172 GB, free: 12.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5844, allocations: 0 / 0.6172 GB, free: 12.74 MB / 446.1 MB Notification: Performance of Templates: time 0.03085/0.6153, allocations: 20.85 MB / 0.6376 GB, free: 8.152 MB / 462.1 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 -s gbode -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)