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.001566/0.001566, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 221.5 MB / 229.6 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009902/0.0009899, allocations: 95.41 kB / 280.5 MB, free: 5.332 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.002246/0.002246, allocations: 0.5429 MB / 331.8 MB, free: 14.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.327e-05, allocations: 0 / 388.7 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2432, allocations: 50.56 MB / 439.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.321, allocations: 492.6 MB / 0.91 GB, free: 122.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/1.322, allocations: 83.89 kB / 0.9101 GB, free: 122.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.811/2.133, allocations: 253.2 MB / 1.157 GB, free: 39.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.262e-06/2.133, allocations: 3.938 kB / 1.157 GB, free: 39.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.643e-05/2.133, allocations: 20 kB / 1.157 GB, free: 39.49 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.002669/2.135, allocations: 1.166 MB / 1.159 GB, free: 38.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/2.135, allocations: 8.031 kB / 1.159 GB, free: 38.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009733/2.136, allocations: 174.8 kB / 1.159 GB, free: 38.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/2.137, allocations: 0.5883 MB / 1.159 GB, free: 37.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/2.137, allocations: 152.8 kB / 1.159 GB, free: 37.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/2.138, allocations: 40 kB / 1.159 GB, free: 37.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001021/2.139, allocations: 0.6755 MB / 1.16 GB, free: 36.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/2.14, allocations: 0.984 MB / 1.161 GB, free: 35.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/2.14, allocations: 11.84 kB / 1.161 GB, free: 35.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.778e-05/2.14, allocations: 4 kB / 1.161 GB, free: 35.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-05/2.14, allocations: 33.3 kB / 1.161 GB, free: 35.45 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.004321/2.144, allocations: 5.662 MB / 1.167 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/2.145, allocations: 330.5 kB / 1.167 GB, free: 29.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/2.145, allocations: 177.5 kB / 1.167 GB, free: 28.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/2.145, allocations: 263.6 kB / 1.167 GB, free: 28.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/2.145, allocations: 34.89 kB / 1.167 GB, free: 28.56 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 3.026e-06/2.145, allocations: 4 kB / 1.167 GB, free: 28.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.008325/2.154, allocations: 2.389 MB / 1.17 GB, free: 26.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/2.154, allocations: 107.2 kB / 1.17 GB, free: 25.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/2.154, allocations: 0.5383 MB / 1.17 GB, free: 25.42 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/2.154, allocations: 29.7 kB / 1.17 GB, free: 25.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/2.155, allocations: 485.4 kB / 1.171 GB, free: 24.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/2.155, allocations: 185.3 kB / 1.171 GB, free: 24.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/2.155, allocations: 0 / 1.171 GB, free: 24.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/2.155, allocations: 382.8 kB / 1.171 GB, free: 24.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/2.155, allocations: 242.6 kB / 1.172 GB, free: 24.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/2.156, allocations: 0.7258 MB / 1.172 GB, free: 23.14 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.003521/2.159, allocations: 1.191 MB / 1.174 GB, free: 21.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/2.159, allocations: 4 kB / 1.174 GB, free: 21.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002402/2.162, allocations: 1.222 MB / 1.175 GB, free: 20.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/2.162, allocations: 12 kB / 1.175 GB, free: 20.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/2.162, allocations: 20 kB / 1.175 GB, free: 20.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007874/2.162, allocations: 249.3 kB / 1.175 GB, free: 20.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/2.163, allocations: 203.7 kB / 1.175 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008365/2.164, allocations: 0.9415 MB / 1.176 GB, free: 19.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/2.165, allocations: 43.89 kB / 1.176 GB, free: 19.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/2.165, allocations: 95.98 kB / 1.176 GB, free: 19.12 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: V1.ports[2].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [2] 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.0002786/2.165, allocations: 160.5 kB / 1.176 GB, free: 18.96 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001692/2.167, allocations: 0.7329 MB / 1.177 GB, free: 18.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.865e-05/2.167, allocations: 79.16 kB / 1.177 GB, free: 18.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/2.169, allocations: 0.985 MB / 1.178 GB, free: 17.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/2.169, allocations: 4 kB / 1.178 GB, free: 17.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/2.169, allocations: 0 / 1.178 GB, free: 17.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/2.169, allocations: 7.984 kB / 1.178 GB, free: 17.12 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.00286/2.172, allocations: 1.586 MB / 1.18 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/2.172, allocations: 0 / 1.18 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/2.172, allocations: 79.91 kB / 1.18 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/2.174, allocations: 266.1 kB / 1.18 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/2.174, allocations: 19.98 kB / 1.18 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007126/2.174, allocations: 0.8542 MB / 1.181 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/2.174, allocations: 0 / 1.181 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/2.176, allocations: 1.074 MB / 1.182 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/2.177, allocations: 212 kB / 1.182 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/2.177, allocations: 15.98 kB / 1.182 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/2.177, allocations: 19.98 kB / 1.182 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/2.177, allocations: 48.44 kB / 1.182 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.507e-05/2.177, allocations: 59.97 kB / 1.182 GB, free: 12.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004534/2.178, allocations: 395.1 kB / 1.183 GB, free: 12.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.2e-07/2.178, allocations: 0 / 1.183 GB, free: 12.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001583/2.179, allocations: 379.8 kB / 1.183 GB, free: 12.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 39 * 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.004042/2.184, allocations: 2.764 MB / 1.186 GB, free: 9.371 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/2.185, allocations: 0.6946 MB / 1.186 GB, free: 8.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/2.185, allocations: 4 kB / 1.186 GB, free: 8.676 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006017/2.186, allocations: 297.9 kB / 1.187 GB, free: 8.387 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/2.187, allocations: 312.4 kB / 1.187 GB, free: 8.082 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/2.19, allocations: 1.329 MB / 1.188 GB, free: 6.711 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/2.19, allocations: 1.002 MB / 1.189 GB, free: 5.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001405/2.192, allocations: 0.5424 MB / 1.19 GB, free: 5.133 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005073/2.192, allocations: 323.3 kB / 1.19 GB, free: 4.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/2.192, allocations: 0 / 1.19 GB, free: 4.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3416/2.534, allocations: 29.89 MB / 1.219 GB, free: 69.51 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/2.534, allocations: 244.9 kB / 1.22 GB, free: 69.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/5.492, allocations: 0 / 1.22 GB, free: 69.23 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)