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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009931/0.0009929, allocations: 86.95 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002501/0.0025, allocations: 0.5618 MB / 337.1 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.887e-05, allocations: 0 / 395.6 MB, free: 70.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.08803, allocations: 50.58 MB / 446.2 MB, free: 19.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.179, allocations: 493.3 MB / 0.9174 GB, free: 39.65 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/1.179, allocations: 78.27 kB / 0.9175 GB, free: 39.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.046/2.225, allocations: 256.6 MB / 1.168 GB, free: 76.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/2.225, allocations: 3.406 kB / 1.168 GB, free: 76.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.625e-05/2.225, allocations: 29.81 kB / 1.168 GB, free: 76.65 MB / 442.7 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.004143/2.229, allocations: 1.158 MB / 1.169 GB, free: 76.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/2.229, allocations: 14.38 kB / 1.169 GB, free: 76.08 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004001/2.229, allocations: 120.6 kB / 1.169 GB, free: 76.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/2.231, allocations: 166.8 kB / 1.17 GB, free: 75.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/2.233, allocations: 0.5896 MB / 1.17 GB, free: 75.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/2.233, allocations: 183.3 kB / 1.17 GB, free: 75.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/2.233, allocations: 72.12 kB / 1.17 GB, free: 75.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/2.235, allocations: 1.075 MB / 1.171 GB, free: 75.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/2.235, allocations: 9.156 kB / 1.171 GB, free: 75.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/2.235, allocations: 41.06 kB / 1.171 GB, free: 75.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-05/2.235, allocations: 41.95 kB / 1.172 GB, free: 75.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/2.236, allocations: 0.7454 MB / 1.172 GB, free: 75.29 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005488/2.242, allocations: 5.677 MB / 1.178 GB, free: 71.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/2.242, allocations: 380.5 kB / 1.178 GB, free: 71.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/2.243, allocations: 214.5 kB / 1.178 GB, free: 71.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/2.243, allocations: 260.7 kB / 1.179 GB, free: 71.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/2.243, allocations: 43.53 kB / 1.179 GB, free: 71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 3.085e-06/2.243, allocations: 0 / 1.179 GB, free: 71 MB / 442.7 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.008357/2.251, allocations: 2.467 MB / 1.181 GB, free: 70.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/2.251, allocations: 110.3 kB / 1.181 GB, free: 70.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008251/2.252, allocations: 0.5838 MB / 1.182 GB, free: 70.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.421e-05/2.252, allocations: 40.27 kB / 1.182 GB, free: 70.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/2.253, allocations: 468.4 kB / 1.182 GB, free: 69.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/2.253, allocations: 198.3 kB / 1.182 GB, free: 69.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/2.253, allocations: 26.88 kB / 1.182 GB, free: 69.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/2.253, allocations: 383.7 kB / 1.183 GB, free: 69.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/2.253, allocations: 269.3 kB / 1.183 GB, free: 69.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/2.254, allocations: 0.7504 MB / 1.184 GB, free: 68.87 MB / 442.7 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.01501/2.269, allocations: 2.596 MB / 1.186 GB, free: 68.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/2.269, allocations: 3.656 kB / 1.186 GB, free: 68.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002183/2.271, allocations: 1.184 MB / 1.187 GB, free: 68.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/2.271, allocations: 13.06 kB / 1.188 GB, free: 68.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/2.271, allocations: 17.34 kB / 1.188 GB, free: 68.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008554/2.272, allocations: 271.1 kB / 1.188 GB, free: 68.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/2.273, allocations: 211.7 kB / 1.188 GB, free: 68.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008024/2.274, allocations: 0.8979 MB / 1.189 GB, free: 68.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009364/2.275, allocations: 68.23 kB / 1.189 GB, free: 68.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/2.275, allocations: 99.41 kB / 1.189 GB, free: 68.13 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002635/2.275, allocations: 187.2 kB / 1.189 GB, free: 68.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/2.275, allocations: 82.03 kB / 1.189 GB, free: 67.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/2.278, allocations: 1.188 MB / 1.19 GB, free: 67.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/2.278, allocations: 10.7 kB / 1.19 GB, free: 67.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/2.278, allocations: 0 / 1.19 GB, free: 67.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/2.278, allocations: 6.812 kB / 1.19 GB, free: 67.86 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003166/2.281, allocations: 1.969 MB / 1.192 GB, free: 67.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/2.281, allocations: 0 / 1.192 GB, free: 67.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/2.281, allocations: 98.05 kB / 1.192 GB, free: 67.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/2.283, allocations: 278 kB / 1.193 GB, free: 67.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/2.283, allocations: 30.16 kB / 1.193 GB, free: 67.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007236/2.283, allocations: 0.8353 MB / 1.194 GB, free: 66.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.283, allocations: 3.828 kB / 1.194 GB, free: 66.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/2.285, allocations: 1.14 MB / 1.195 GB, free: 66.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/2.285, allocations: 216.9 kB / 1.195 GB, free: 66.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/2.285, allocations: 17.3 kB / 1.195 GB, free: 66.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/2.286, allocations: 38.38 kB / 1.195 GB, free: 66.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/2.286, allocations: 56.42 kB / 1.195 GB, free: 66.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.802e-05/2.286, allocations: 67.88 kB / 1.195 GB, free: 66.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004963/2.287, allocations: 447.4 kB / 1.195 GB, free: 66.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/2.287, allocations: 0 / 1.195 GB, free: 66.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001862/2.289, allocations: 427.2 kB / 1.196 GB, free: 66 MB / 442.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.003574/2.292, allocations: 2.969 MB / 1.199 GB, free: 64.69 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/2.294, allocations: 0.7715 MB / 1.2 GB, free: 64.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/2.294, allocations: 0 / 1.2 GB, free: 64.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006596/2.294, allocations: 334.9 kB / 1.2 GB, free: 64.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/2.296, allocations: 370.3 kB / 1.2 GB, free: 64.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/2.299, allocations: 1.462 MB / 1.202 GB, free: 64.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/2.3, allocations: 1.001 MB / 1.203 GB, free: 63.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001509/2.301, allocations: 0.581 MB / 1.203 GB, free: 63.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/2.302, allocations: 337.2 kB / 1.204 GB, free: 63.51 MB / 442.7 MB Notification: Performance of SimCode: time 9.01e-07/2.302, allocations: 3.938 kB / 1.204 GB, free: 63.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06562/2.368, allocations: 42.29 MB / 1.245 GB, free: 41.18 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003321/2.368, allocations: 276.2 kB / 1.245 GB, free: 40.84 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.627/5.995, allocations: 0 / 1.245 GB, free: 40.84 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)