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.002018/0.002018, allocations: 104.2 kB / 16.27 MB, free: 5.98 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.002344/0.002344, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.525/1.525, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.004358/0.004358, allocations: 0.5608 MB / 291.6 MB, free: 14.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 352.2 MB, free: 1.613 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2423, allocations: 49.59 MB / 401.8 MB, free: 36.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.4473/0.6896, allocations: 179.4 MB / 0.5675 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008233/0.6979, allocations: 3.169 MB / 0.5706 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.7, allocations: 19.94 kB / 0.5707 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.7021, allocations: 407 kB / 0.571 GB, free: 8.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00741/0.7096, allocations: 1.586 MB / 0.5726 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004439/0.7141, allocations: 1.113 MB / 0.5737 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004747/0.7188, allocations: 2.421 MB / 0.576 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.7205, allocations: 0.5882 MB / 0.5766 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002888/0.7234, allocations: 0.9933 MB / 0.5776 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.7251, allocations: 0.7384 MB / 0.5783 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004094/0.7255, allocations: 81.81 kB / 0.5784 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003041/0.7286, allocations: 0.9742 MB / 0.5793 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005946/0.7292, allocations: 324.4 kB / 0.5796 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.7304, allocations: 496.1 kB / 0.5801 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003897/0.7343, allocations: 1.72 MB / 0.5818 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7344, allocations: 0 / 0.5818 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.7344, allocations: 0 / 0.5818 GB, free: 1.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.101e-05/0.7344, allocations: 0 / 0.5818 GB, free: 1.773 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.003668/0.7381, allocations: 1.304 MB / 0.5831 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.7382, allocations: 19.89 kB / 0.5831 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.7396, allocations: 165.4 kB / 0.5833 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.7408, allocations: 0.564 MB / 0.5838 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.741, allocations: 180.7 kB / 0.584 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.7412, allocations: 74.91 kB / 0.584 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.7431, allocations: 1.09 MB / 0.5851 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.7432, allocations: 8 kB / 0.5851 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.7433, allocations: 32 kB / 0.5851 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.847e-05/0.7434, allocations: 45.22 kB / 0.5852 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.7448, allocations: 0.7816 MB / 0.586 GB, free: 13.33 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.006878/0.7517, allocations: 5.724 MB / 0.5915 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/0.7525, allocations: 394.8 kB / 0.5919 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.7529, allocations: 224.3 kB / 0.5921 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/0.7532, allocations: 266.3 kB / 0.5924 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.7533, allocations: 46.56 kB / 0.5924 GB, free: 6.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=44): time 2.785e-06/0.7533, allocations: 0 / 0.5924 GB, free: 6.277 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.01073/0.764, allocations: 2.999 MB / 0.5954 GB, free: 3.191 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.7641, allocations: 111.4 kB / 0.5955 GB, free: 3.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000981/0.7651, allocations: 0.6759 MB / 0.5961 GB, free: 2.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.849e-05/0.7652, allocations: 37.7 kB / 0.5962 GB, free: 2.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.7656, allocations: 465.1 kB / 0.5966 GB, free: 1.875 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.7657, allocations: 208.6 kB / 0.5968 GB, free: 1.672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.7661, allocations: 230.7 kB / 0.597 GB, free: 1.441 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7662, allocations: 382.8 kB / 0.5974 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.7667, allocations: 282.5 kB / 0.5977 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000826/0.7676, allocations: 0.7669 MB / 0.5984 GB, free: 15.79 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.01643/0.784, allocations: 3.307 MB / 0.6016 GB, free: 12.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/0.7841, allocations: 4 kB / 0.6016 GB, free: 12.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002424/0.7865, allocations: 1.226 MB / 0.6028 GB, free: 11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.7866, allocations: 12 kB / 0.6029 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/0.7866, allocations: 16 kB / 0.6029 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009723/0.7876, allocations: 276.5 kB / 0.6031 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/0.7883, allocations: 211.6 kB / 0.6033 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009885/0.7893, allocations: 0.8957 MB / 0.6042 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007899/0.7901, allocations: 48.03 kB / 0.6043 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.7902, allocations: 103.9 kB / 0.6044 GB, free: 9.422 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.000594/0.7908, allocations: 290 kB / 0.6046 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.7911, allocations: 83.06 kB / 0.6047 GB, free: 9.047 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.7937, allocations: 1.192 MB / 0.6059 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.7937, allocations: 15.94 kB / 0.6059 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.7937, allocations: 3.938 kB / 0.6059 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.7938, allocations: 7.969 kB / 0.6059 GB, free: 7.809 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.003439/0.7972, allocations: 1.979 MB / 0.6078 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.7972, allocations: 4 kB / 0.6078 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.7976, allocations: 95.83 kB / 0.6079 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/0.7991, allocations: 290.4 kB / 0.6082 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.279e-05/0.7991, allocations: 27.98 kB / 0.6082 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009839/0.8001, allocations: 0.8333 MB / 0.609 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8002, allocations: 0 / 0.609 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.8023, allocations: 1.141 MB / 0.6102 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004633/0.8028, allocations: 224 kB / 0.6104 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.803, allocations: 12 kB / 0.6104 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005907/0.8036, allocations: 19.98 kB / 0.6104 GB, free: 2.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.8037, allocations: 44.52 kB / 0.6104 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.8038, allocations: 67.97 kB / 0.6105 GB, free: 2.875 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007058/0.8045, allocations: 475 kB / 0.611 GB, free: 2.414 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8045, allocations: 0 / 0.611 GB, free: 2.414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001413/0.806, allocations: 355.8 kB / 0.6113 GB, free: 2.066 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.001216/0.8072, allocations: 392.3 kB / 0.6117 GB, free: 1.699 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.8091, allocations: 0.8318 MB / 0.6125 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.8092, allocations: 5.625 kB / 0.6125 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008645/0.81, allocations: 343.1 kB / 0.6128 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.8123, allocations: 419.5 kB / 0.6132 GB, free: 140 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.8156, allocations: 1.668 MB / 0.6149 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.8162, allocations: 0.979 MB / 0.6158 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005823/0.8168, allocations: 163.3 kB / 0.616 GB, free: 13.27 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.8169, allocations: 7.938 kB / 0.616 GB, free: 13.26 MB / 446.1 MB Notification: Performance of Templates: time 0.02983/0.8467, allocations: 18.49 MB / 0.634 GB, free: 10.88 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 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)