Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.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.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",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.001672/0.001672, allocations: 174.8 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.571/1.571, allocations: 221.4 MB / 234.6 MB, free: 14.31 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.0009046/0.0009047, allocations: 88.06 kB / 285.6 MB, free: 12.98 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.002498/0.002498, allocations: 0.5689 MB / 337.1 MB, free: 9.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.357e-05, allocations: 4 kB / 395.6 MB, free: 70.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 50.57 MB / 446.1 MB, free: 19.89 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.419/1.532, allocations: 493.3 MB / 0.9174 GB, free: 39.63 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.532, allocations: 79.58 kB / 0.9175 GB, free: 39.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166/2.699, allocations: 257 MB / 1.168 GB, free: 77.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.172e-06/2.699, allocations: 5.812 kB / 1.168 GB, free: 77.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001086/2.699, allocations: 23.86 kB / 1.168 GB, free: 77.16 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.004281/2.703, allocations: 1.164 MB / 1.17 GB, free: 76.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/2.703, allocations: 9.906 kB / 1.17 GB, free: 76.58 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004504/2.704, allocations: 124.4 kB / 1.17 GB, free: 76.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/2.705, allocations: 162.4 kB / 1.17 GB, free: 76.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/2.707, allocations: 0.5959 MB / 1.171 GB, free: 76.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/2.707, allocations: 178.3 kB / 1.171 GB, free: 76.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/2.707, allocations: 69.03 kB / 1.171 GB, free: 76.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/2.709, allocations: 1.08 MB / 1.172 GB, free: 75.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/2.709, allocations: 5.094 kB / 1.172 GB, free: 75.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/2.709, allocations: 33.52 kB / 1.172 GB, free: 75.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/2.709, allocations: 48.67 kB / 1.172 GB, free: 75.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/2.711, allocations: 0.7409 MB / 1.173 GB, free: 75.79 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.005115/2.716, allocations: 5.667 MB / 1.178 GB, free: 71.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/2.716, allocations: 378.2 kB / 1.178 GB, free: 71.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/2.717, allocations: 214.4 kB / 1.179 GB, free: 71.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/2.717, allocations: 264 kB / 1.179 GB, free: 71.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/2.717, allocations: 43.78 kB / 1.179 GB, free: 71.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.325e-06/2.717, allocations: 0 / 1.179 GB, free: 71.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=55): time 0.006363/2.723, allocations: 2.081 MB / 1.181 GB, free: 70.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/2.723, allocations: 107.3 kB / 1.181 GB, free: 70.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/2.724, allocations: 0.5839 MB / 1.182 GB, free: 70.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/2.724, allocations: 43.53 kB / 1.182 GB, free: 70.69 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/2.725, allocations: 468.2 kB / 1.182 GB, free: 70.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/2.725, allocations: 204.1 kB / 1.182 GB, free: 70.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/2.725, allocations: 20.31 kB / 1.182 GB, free: 70.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/2.725, allocations: 382.8 kB / 1.183 GB, free: 69.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/2.726, allocations: 270.6 kB / 1.183 GB, free: 69.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000807/2.726, allocations: 0.7536 MB / 1.184 GB, free: 69.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01433/2.741, allocations: 2.404 MB / 1.186 GB, free: 69.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.986e-05/2.741, allocations: 2.812 kB / 1.186 GB, free: 69.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002385/2.743, allocations: 1.23 MB / 1.187 GB, free: 69.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/2.743, allocations: 16.31 kB / 1.187 GB, free: 69.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/2.743, allocations: 19.66 kB / 1.187 GB, free: 69.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/2.745, allocations: 471.7 kB / 1.188 GB, free: 69.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/2.746, allocations: 184 kB / 1.188 GB, free: 69.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/2.747, allocations: 1.099 MB / 1.189 GB, free: 68.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/2.748, allocations: 67.89 kB / 1.189 GB, free: 68.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/2.748, allocations: 95.25 kB / 1.189 GB, free: 68.62 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: $DER.V1.medium.p = 0.0. 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 (101): * Single equations (assignments): 100 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003024/2.748, allocations: 191 kB / 1.189 GB, free: 68.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/2.749, allocations: 88.23 kB / 1.189 GB, free: 68.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/2.751, allocations: 1.186 MB / 1.191 GB, free: 68.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/2.751, allocations: 3.906 kB / 1.191 GB, free: 68.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/2.751, allocations: 0 / 1.191 GB, free: 68.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/2.751, allocations: 3.75 kB / 1.191 GB, free: 68.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/2.754, allocations: 1.976 MB / 1.193 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/2.754, allocations: 3.938 kB / 1.193 GB, free: 67.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/2.755, allocations: 94.88 kB / 1.193 GB, free: 67.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/2.756, allocations: 276.6 kB / 1.193 GB, free: 67.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/2.756, allocations: 29.8 kB / 1.193 GB, free: 67.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008301/2.757, allocations: 0.8302 MB / 1.194 GB, free: 67.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/2.757, allocations: 3.812 kB / 1.194 GB, free: 67.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/2.759, allocations: 1.141 MB / 1.195 GB, free: 66.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/2.759, allocations: 221.1 kB / 1.195 GB, free: 66.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/2.759, allocations: 19.12 kB / 1.195 GB, free: 66.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/2.76, allocations: 37.36 kB / 1.195 GB, free: 66.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/2.76, allocations: 53.75 kB / 1.195 GB, free: 66.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.914e-05/2.76, allocations: 67.19 kB / 1.195 GB, free: 66.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005225/2.76, allocations: 447.5 kB / 1.196 GB, free: 66.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/2.76, allocations: 0 / 1.196 GB, free: 66.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001742/2.762, allocations: 433.4 kB / 1.196 GB, free: 66.5 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.0036/2.766, allocations: 2.985 MB / 1.199 GB, free: 65.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001539/2.767, allocations: 0.7612 MB / 1.2 GB, free: 65.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/2.767, allocations: 3.906 kB / 1.2 GB, free: 65.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006579/2.768, allocations: 330.7 kB / 1.2 GB, free: 65.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/2.77, allocations: 374.4 kB / 1.2 GB, free: 65.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/2.773, allocations: 1.44 MB / 1.202 GB, free: 64.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/2.774, allocations: 1.008 MB / 1.203 GB, free: 64.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00152/2.775, allocations: 0.5613 MB / 1.203 GB, free: 63.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006244/2.776, allocations: 344 kB / 1.204 GB, free: 63.98 MB / 442.7 MB Notification: Performance of SimCode: time 1.342e-06/2.776, allocations: 0 / 1.204 GB, free: 63.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06448/2.84, allocations: 42.96 MB / 1.246 GB, free: 40.44 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/2.841, allocations: 291.5 kB / 1.246 GB, free: 40.11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.299/6.14, allocations: 0 / 1.246 GB, free: 40.11 MB / 442.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)