Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.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.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",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.002289/0.002289, 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.586/1.586, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0009115/0.0009117, allocations: 100.2 kB / 280.5 MB, free: 5.34 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.00252/0.00252, allocations: 0.5661 MB / 331.8 MB, free: 14.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.043e-05, allocations: 4 kB / 388.7 MB, free: 5.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2936, allocations: 50.56 MB / 439.3 MB, free: 19.26 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/1.673, allocations: 492.6 MB / 0.91 GB, free: 122.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/1.673, allocations: 83.89 kB / 0.9101 GB, free: 122.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8814/2.554, allocations: 253.2 MB / 1.157 GB, free: 39.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.725e-06/2.555, allocations: 0 / 1.157 GB, free: 39.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001151/2.555, 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.004072/2.559, allocations: 1.164 MB / 1.158 GB, free: 38.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/2.559, allocations: 8.031 kB / 1.158 GB, free: 38.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/2.56, allocations: 170.8 kB / 1.159 GB, free: 38.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/2.562, allocations: 0.5909 MB / 1.159 GB, free: 37.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/2.563, allocations: 156.8 kB / 1.159 GB, free: 37.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/2.563, allocations: 40 kB / 1.159 GB, free: 37.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001454/2.564, allocations: 0.6794 MB / 1.16 GB, free: 36.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/2.566, allocations: 0.984 MB / 1.161 GB, free: 35.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/2.566, allocations: 7.906 kB / 1.161 GB, free: 35.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/2.566, allocations: 4 kB / 1.161 GB, free: 35.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.366e-05/2.566, allocations: 37.23 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.00586/2.572, allocations: 5.661 MB / 1.167 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/2.573, allocations: 331.8 kB / 1.167 GB, free: 29.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/2.573, allocations: 180.1 kB / 1.167 GB, free: 28.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/2.573, allocations: 258.5 kB / 1.167 GB, free: 28.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/2.573, allocations: 46.81 kB / 1.167 GB, free: 28.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 2.605e-06/2.573, allocations: 3.938 kB / 1.167 GB, free: 28.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.008857/2.582, allocations: 2.379 MB / 1.17 GB, free: 26.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/2.582, allocations: 111.2 kB / 1.17 GB, free: 25.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007227/2.583, allocations: 0.5305 MB / 1.17 GB, free: 25.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.531e-05/2.583, allocations: 29.7 kB / 1.17 GB, free: 25.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/2.583, allocations: 489.4 kB / 1.171 GB, free: 24.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/2.583, allocations: 177.4 kB / 1.171 GB, free: 24.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/2.583, allocations: 0 / 1.171 GB, free: 24.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/2.584, allocations: 382.8 kB / 1.171 GB, free: 24.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/2.584, allocations: 250.5 kB / 1.172 GB, free: 24.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/2.584, 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.003647/2.588, allocations: 1.183 MB / 1.173 GB, free: 21.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/2.588, allocations: 8 kB / 1.173 GB, free: 21.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002611/2.591, allocations: 1.222 MB / 1.175 GB, free: 20.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/2.591, allocations: 12 kB / 1.175 GB, free: 20.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/2.591, allocations: 19.94 kB / 1.175 GB, free: 20.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007719/2.592, allocations: 241.4 kB / 1.175 GB, free: 20.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/2.592, allocations: 215.6 kB / 1.175 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009636/2.593, allocations: 0.9411 MB / 1.176 GB, free: 19.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009556/2.594, allocations: 47.92 kB / 1.176 GB, free: 19.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/2.594, 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.0003683/2.595, allocations: 154.4 kB / 1.176 GB, free: 18.96 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001844/2.597, allocations: 0.738 MB / 1.177 GB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/2.597, allocations: 75.16 kB / 1.177 GB, free: 18.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/2.599, allocations: 0.9966 MB / 1.178 GB, free: 17.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/2.599, allocations: 4 kB / 1.178 GB, free: 17.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/2.599, allocations: 0 / 1.178 GB, free: 17.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/2.599, allocations: 3.984 kB / 1.178 GB, free: 17.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/2.602, allocations: 1.582 MB / 1.18 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/2.602, allocations: 4 kB / 1.18 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/2.602, allocations: 83.89 kB / 1.18 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/2.604, allocations: 266 kB / 1.18 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/2.604, allocations: 19.98 kB / 1.18 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007209/2.604, allocations: 0.8541 MB / 1.181 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/2.604, allocations: 0 / 1.181 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/2.606, allocations: 1.068 MB / 1.182 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/2.607, allocations: 208.1 kB / 1.182 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/2.607, allocations: 12 kB / 1.182 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005576/2.607, allocations: 23.97 kB / 1.182 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/2.607, allocations: 40.52 kB / 1.182 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.47e-05/2.608, allocations: 59.97 kB / 1.182 GB, free: 12.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004381/2.608, allocations: 395.1 kB / 1.183 GB, free: 12.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/2.608, allocations: 0 / 1.183 GB, free: 12.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001534/2.61, allocations: 379.8 kB / 1.183 GB, free: 12.04 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.004141/2.614, allocations: 2.772 MB / 1.186 GB, free: 9.371 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001412/2.615, allocations: 0.6943 MB / 1.186 GB, free: 8.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/2.615, allocations: 4.5 kB / 1.186 GB, free: 8.676 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005968/2.616, allocations: 301.7 kB / 1.187 GB, free: 8.383 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/2.617, allocations: 304.5 kB / 1.187 GB, free: 8.086 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/2.621, allocations: 1.336 MB / 1.188 GB, free: 6.711 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/2.622, allocations: 1.006 MB / 1.189 GB, free: 5.676 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001647/2.623, allocations: 0.5308 MB / 1.19 GB, free: 5.141 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/2.624, allocations: 319.3 kB / 1.19 GB, free: 4.832 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/2.624, allocations: 0 / 1.19 GB, free: 4.832 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3527/2.977, allocations: 29.88 MB / 1.219 GB, free: 68.98 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/2.977, allocations: 227.8 kB / 1.219 GB, free: 68.69 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.193/6.169, allocations: 0 / 1.219 GB, free: 68.69 MB / 442.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)