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.006311/0.006311, allocations: 170.7 kB / 15.11 MB, free: 5.969 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.352/1.352, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009558/0.0009559, allocations: 103.1 kB / 290.2 MB, free: 13.94 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.002294/0.002293, allocations: 0.5522 MB / 341.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 10.41 kB / 403 MB, free: 98.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 50.57 MB / 453.6 MB, free: 59.12 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.237, allocations: 493.3 MB / 0.9247 GB, free: 144.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.238, allocations: 80.08 kB / 0.9248 GB, free: 144.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7428/1.98, allocations: 257.3 MB / 1.176 GB, free: 68.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.513e-06/1.981, allocations: 0 / 1.176 GB, free: 68.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.45e-05/1.981, allocations: 27.92 kB / 1.176 GB, free: 68.93 MB / 458.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.00237/1.983, allocations: 1.244 MB / 1.177 GB, free: 67.63 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.983, allocations: 8.562 kB / 1.177 GB, free: 67.62 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/1.983, allocations: 130.4 kB / 1.177 GB, free: 67.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009338/1.984, allocations: 170.8 kB / 1.178 GB, free: 67.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009403/1.985, allocations: 0.5864 MB / 1.178 GB, free: 66.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/1.985, allocations: 188.8 kB / 1.178 GB, free: 66.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-05/1.985, allocations: 67.91 kB / 1.178 GB, free: 66.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/1.987, allocations: 1.097 MB / 1.18 GB, free: 65.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.987, allocations: 3.938 kB / 1.18 GB, free: 65.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.665e-05/1.987, allocations: 36 kB / 1.18 GB, free: 65.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/1.987, allocations: 37.3 kB / 1.18 GB, free: 65.13 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009723/1.988, allocations: 0.7621 MB / 1.18 GB, free: 64.37 MB / 458.7 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.004218/1.992, allocations: 5.686 MB / 1.186 GB, free: 58.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/1.992, allocations: 389.5 kB / 1.186 GB, free: 57.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/1.993, allocations: 259.2 kB / 1.187 GB, free: 57.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/1.993, allocations: 46.55 kB / 1.187 GB, free: 57.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 1.774e-06/1.993, allocations: 0 / 1.187 GB, free: 57.54 MB / 458.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.008959/2.002, allocations: 3.006 MB / 1.189 GB, free: 54.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/2.002, allocations: 111.4 kB / 1.19 GB, free: 54.31 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009157/2.003, allocations: 0.5968 MB / 1.19 GB, free: 53.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.621e-05/2.003, allocations: 41.69 kB / 1.19 GB, free: 53.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/2.003, allocations: 454.1 kB / 1.191 GB, free: 53.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/2.003, allocations: 217 kB / 1.191 GB, free: 53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/2.003, allocations: 20 kB / 1.191 GB, free: 52.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/2.004, allocations: 394.7 kB / 1.191 GB, free: 52.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/2.004, allocations: 274.5 kB / 1.192 GB, free: 52.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/2.005, allocations: 0.7551 MB / 1.192 GB, free: 51.33 MB / 458.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.01577/2.02, allocations: 2.661 MB / 1.195 GB, free: 48.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/2.02, allocations: 4 kB / 1.195 GB, free: 48.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001766/2.022, allocations: 1.202 MB / 1.196 GB, free: 47.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/2.022, allocations: 13.72 kB / 1.196 GB, free: 47.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/2.022, allocations: 16.84 kB / 1.196 GB, free: 47.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009285/2.023, allocations: 284.6 kB / 1.196 GB, free: 47.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/2.024, allocations: 211.6 kB / 1.197 GB, free: 46.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008077/2.025, allocations: 0.9132 MB / 1.197 GB, free: 45.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009058/2.025, allocations: 71.92 kB / 1.197 GB, free: 45.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/2.026, allocations: 95.98 kB / 1.198 GB, free: 45.81 MB / 458.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 () * 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 (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.0004628/2.026, allocations: 293.3 kB / 1.198 GB, free: 45.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/2.026, allocations: 79.06 kB / 1.198 GB, free: 45.44 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/2.028, allocations: 1.204 MB / 1.199 GB, free: 44.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/2.028, allocations: 4 kB / 1.199 GB, free: 44.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/2.028, allocations: 0 / 1.199 GB, free: 44.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/2.028, allocations: 3.984 kB / 1.199 GB, free: 44.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/2.032, allocations: 1.986 MB / 1.201 GB, free: 42.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/2.032, allocations: 4 kB / 1.201 GB, free: 42.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/2.032, allocations: 99.77 kB / 1.201 GB, free: 41.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/2.034, allocations: 300.5 kB / 1.201 GB, free: 41.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/2.034, allocations: 31.98 kB / 1.201 GB, free: 41.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009579/2.035, allocations: 0.8473 MB / 1.202 GB, free: 40.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/2.035, allocations: 4 kB / 1.202 GB, free: 40.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/2.036, allocations: 1.154 MB / 1.203 GB, free: 39.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/2.037, allocations: 208.1 kB / 1.204 GB, free: 39.33 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/2.037, allocations: 19.98 kB / 1.204 GB, free: 39.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/2.037, allocations: 35.98 kB / 1.204 GB, free: 39.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/2.037, allocations: 52.44 kB / 1.204 GB, free: 39.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/2.038, allocations: 63.97 kB / 1.204 GB, free: 39.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004867/2.038, allocations: 455 kB / 1.204 GB, free: 38.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/2.038, allocations: 0 / 1.204 GB, free: 38.72 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001551/2.04, allocations: 431.8 kB / 1.205 GB, free: 38.3 MB / 458.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 () * 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 (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 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.003305/2.043, allocations: 3.004 MB / 1.208 GB, free: 35.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00133/2.044, allocations: 0.7709 MB / 1.208 GB, free: 34.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/2.044, allocations: 0 / 1.208 GB, free: 34.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006341/2.045, allocations: 335.2 kB / 1.209 GB, free: 34.15 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/2.047, allocations: 374.3 kB / 1.209 GB, free: 33.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008157/2.055, allocations: 16.09 MB / 1.225 GB, free: 17.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/2.055, allocations: 1.007 MB / 1.226 GB, free: 16.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001531/2.057, allocations: 0.5789 MB / 1.226 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/2.057, allocations: 339.3 kB / 1.227 GB, free: 15.35 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/2.057, allocations: 0 / 1.227 GB, free: 15.35 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2803/2.338, allocations: 39.56 MB / 1.265 GB, free: 80.88 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/2.338, allocations: 301.5 kB / 1.266 GB, free: 80.52 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/5.482, allocations: 0 / 1.266 GB, free: 80.52 MB / 458.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)