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.001466/0.001466, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 198.9 kB / 16.79 MB, free: 6.809 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.46/1.46, allocations: 222.9 MB / 240.5 MB, free: 4.582 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.00272/0.00272, allocations: 0.57 MB / 291.2 MB, free: 1.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 60.05 kB / 351.5 MB, free: 2.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1151, allocations: 49.6 MB / 401.1 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.6021/0.7173, allocations: 177.7 MB / 0.5652 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005517/0.7228, allocations: 3.346 MB / 0.5685 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.724, allocations: 29.91 kB / 0.5685 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.7251, allocations: 357.1 kB / 0.5689 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.7293, allocations: 1.451 MB / 0.5703 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.7322, allocations: 0.9912 MB / 0.5712 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004172/0.7364, allocations: 3.434 MB / 0.5746 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009777/0.7374, allocations: 0.5244 MB / 0.5751 GB, free: 1.281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.7396, allocations: 0.883 MB / 0.576 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.7408, allocations: 0.7709 MB / 0.5767 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.741, allocations: 44.31 kB / 0.5768 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.7436, allocations: 0.9129 MB / 0.5777 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.7439, allocations: 292.6 kB / 0.5779 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005771/0.7445, allocations: 464.5 kB / 0.5784 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.746, allocations: 1.278 MB / 0.5796 GB, free: 1.164 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.746, allocations: 0 / 0.5796 GB, free: 1.164 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.746, allocations: 0 / 0.5796 GB, free: 1.164 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.7461, allocations: 2.625 kB / 0.5796 GB, free: 1.164 MB / 430.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.002726/0.7488, allocations: 1.3 MB / 0.5809 GB, free: 16.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7488, allocations: 7.906 kB / 0.5809 GB, free: 16.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.7499, allocations: 170 kB / 0.5811 GB, free: 16.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/0.7507, allocations: 0.5573 MB / 0.5816 GB, free: 16.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.7508, allocations: 184 kB / 0.5818 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.7509, allocations: 70.34 kB / 0.5819 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.7524, allocations: 1.099 MB / 0.5829 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.7524, allocations: 5.531 kB / 0.5829 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.7525, allocations: 36.98 kB / 0.583 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/0.7525, allocations: 38.86 kB / 0.583 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.7536, allocations: 0.7767 MB / 0.5838 GB, free: 15.73 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.005462/0.7591, allocations: 5.721 MB / 0.5893 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.7598, allocations: 393.4 kB / 0.5897 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.7601, allocations: 223.2 kB / 0.5899 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.7603, allocations: 262.4 kB / 0.5902 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.7604, allocations: 42.52 kB / 0.5902 GB, free: 11.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.074e-06/0.7604, allocations: 0 / 0.5902 GB, free: 11.36 MB / 446.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.00946/0.7699, allocations: 2.994 MB / 0.5931 GB, free: 10.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.77, allocations: 118.7 kB / 0.5933 GB, free: 10.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/0.7707, allocations: 0.675 MB / 0.5939 GB, free: 10.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.7708, allocations: 41.61 kB / 0.594 GB, free: 10.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.7711, allocations: 458.3 kB / 0.5944 GB, free: 10.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.7712, allocations: 204.2 kB / 0.5946 GB, free: 9.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.7715, allocations: 229.1 kB / 0.5948 GB, free: 9.953 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7717, allocations: 392.3 kB / 0.5952 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.7721, allocations: 285 kB / 0.5955 GB, free: 9.633 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008718/0.773, allocations: 0.7617 MB / 0.5962 GB, free: 9.012 MB / 446.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.01618/0.7892, allocations: 3.307 MB / 0.5994 GB, free: 8.242 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.7892, allocations: 6.031 kB / 0.5994 GB, free: 8.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001975/0.7912, allocations: 1.215 MB / 0.6006 GB, free: 8.137 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.7912, allocations: 13 kB / 0.6006 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.7913, allocations: 16.22 kB / 0.6007 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008657/0.7921, allocations: 279.7 kB / 0.6009 GB, free: 8.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.7927, allocations: 208.2 kB / 0.6011 GB, free: 8.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008929/0.7936, allocations: 0.9072 MB / 0.602 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/0.7943, allocations: 65.38 kB / 0.6021 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.7945, allocations: 100.5 kB / 0.6022 GB, free: 7.582 MB / 446.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.0004485/0.7949, allocations: 297.9 kB / 0.6024 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.7951, allocations: 76.34 kB / 0.6025 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/0.7974, allocations: 1.208 MB / 0.6037 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.7975, allocations: 6.188 kB / 0.6037 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.7975, allocations: 4.922 kB / 0.6037 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.7975, allocations: 6.953 kB / 0.6037 GB, free: 7.258 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 postOpt removeSimpleEquations (simulation): time 0.003094/0.8006, allocations: 1.983 MB / 0.6057 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.8006, allocations: 1.281 kB / 0.6057 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.8009, allocations: 103.6 kB / 0.6058 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.8023, allocations: 282.3 kB / 0.606 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/0.8024, allocations: 30.72 kB / 0.6061 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009015/0.8033, allocations: 0.8364 MB / 0.6069 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8033, allocations: 2.906 kB / 0.6069 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.8051, allocations: 1.131 MB / 0.608 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.8055, allocations: 216.5 kB / 0.6082 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.8056, allocations: 16.53 kB / 0.6082 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.8061, allocations: 41.78 kB / 0.6082 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.8062, allocations: 53.16 kB / 0.6083 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.625e-05/0.8063, allocations: 64.64 kB / 0.6083 GB, free: 5.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005536/0.8069, allocations: 477.2 kB / 0.6088 GB, free: 5.473 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8069, allocations: 1.094 kB / 0.6088 GB, free: 5.473 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001258/0.8082, allocations: 344.8 kB / 0.6091 GB, free: 5.449 MB / 446.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.001004/0.8092, allocations: 403.7 kB / 0.6095 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.8106, allocations: 0.7816 MB / 0.6103 GB, free: 5.172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.8106, allocations: 0 / 0.6103 GB, free: 5.172 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007343/0.8114, allocations: 338.4 kB / 0.6106 GB, free: 5.121 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.8132, allocations: 401.8 kB / 0.611 GB, free: 4.992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.816, allocations: 1.938 MB / 0.6129 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.8165, allocations: 0.9824 MB / 0.6138 GB, free: 3.023 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000541/0.817, allocations: 169.2 kB / 0.614 GB, free: 2.977 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.817, allocations: 1.094 kB / 0.614 GB, free: 2.977 MB / 446.1 MB Notification: Performance of Templates: time 0.02552/0.8426, allocations: 18.47 MB / 0.632 GB, free: 0.8672 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)