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.006936/0.006936, allocations: 171.9 kB / 15.12 MB, free: 5.992 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.472/1.472, allocations: 223.2 MB / 239 MB, free: 1.801 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.0008302/0.0008301, allocations: 100.5 kB / 290.2 MB, free: 13.95 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.002733/0.002733, allocations: 0.5574 MB / 341.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003793, allocations: 9.188 kB / 403 MB, free: 98.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1004, allocations: 50.57 MB / 453.6 MB, free: 59.14 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.114/1.215, allocations: 493.4 MB / 0.9247 GB, free: 144.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.215, allocations: 85.09 kB / 0.9248 GB, free: 144.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7644/1.979, allocations: 257.3 MB / 1.176 GB, free: 68.89 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.979, allocations: 0 / 1.176 GB, free: 68.89 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.548e-05/1.979, allocations: 23.94 kB / 1.176 GB, free: 68.87 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.003071/1.983, allocations: 1.252 MB / 1.177 GB, free: 67.56 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.983, allocations: 12.56 kB / 1.177 GB, free: 67.55 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002045/1.983, allocations: 122.5 kB / 1.177 GB, free: 67.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/1.984, allocations: 170.8 kB / 1.178 GB, free: 67.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/1.985, allocations: 0.5863 MB / 1.178 GB, free: 66.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/1.985, allocations: 180.8 kB / 1.178 GB, free: 66.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/1.985, allocations: 75.91 kB / 1.178 GB, free: 66.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/1.987, allocations: 1.09 MB / 1.18 GB, free: 65.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/1.987, allocations: 7.938 kB / 1.18 GB, free: 65.14 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/1.987, allocations: 36 kB / 1.18 GB, free: 65.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.975e-05/1.987, allocations: 33.3 kB / 1.18 GB, free: 65.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009936/1.988, allocations: 0.7699 MB / 1.18 GB, free: 64.3 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.004554/1.992, allocations: 5.682 MB / 1.186 GB, free: 58.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005761/1.993, allocations: 381.3 kB / 1.186 GB, free: 57.85 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/1.993, allocations: 263.3 kB / 1.187 GB, free: 57.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/1.993, allocations: 42.56 kB / 1.187 GB, free: 57.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=44): time 2.484e-06/1.993, allocations: 0 / 1.187 GB, free: 57.48 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.008888/2.002, allocations: 3.016 MB / 1.19 GB, free: 54.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/2.002, allocations: 107.4 kB / 1.19 GB, free: 54.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/2.003, allocations: 0.6124 MB / 1.19 GB, free: 53.63 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/2.003, allocations: 37.7 kB / 1.19 GB, free: 53.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/2.003, allocations: 458.1 kB / 1.191 GB, free: 53.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/2.003, allocations: 205.1 kB / 1.191 GB, free: 52.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/2.003, allocations: 20 kB / 1.191 GB, free: 52.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.372e-05/2.003, allocations: 386.7 kB / 1.191 GB, free: 52.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/2.004, allocations: 278.5 kB / 1.192 GB, free: 52.26 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/2.004, allocations: 0.759 MB / 1.192 GB, free: 51.27 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.0153/2.02, allocations: 2.657 MB / 1.195 GB, free: 48.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/2.02, allocations: 8 kB / 1.195 GB, free: 48.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001664/2.021, allocations: 1.198 MB / 1.196 GB, free: 47.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/2.021, allocations: 12 kB / 1.196 GB, free: 47.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/2.021, allocations: 16 kB / 1.196 GB, free: 47.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009302/2.022, allocations: 288.8 kB / 1.196 GB, free: 47.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/2.023, allocations: 211.7 kB / 1.197 GB, free: 46.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008256/2.024, allocations: 0.913 MB / 1.197 GB, free: 45.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/2.025, allocations: 67.92 kB / 1.198 GB, free: 45.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/2.025, allocations: 95.98 kB / 1.198 GB, free: 45.75 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.0004437/2.025, allocations: 301.2 kB / 1.198 GB, free: 45.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/2.025, allocations: 79.06 kB / 1.198 GB, free: 45.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/2.027, allocations: 1.196 MB / 1.199 GB, free: 44.15 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/2.027, allocations: 8 kB / 1.199 GB, free: 44.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/2.027, allocations: 7.922 kB / 1.199 GB, free: 44.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/2.028, allocations: 0 / 1.199 GB, free: 44.14 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 postOpt removeSimpleEquations (simulation): time 0.002906/2.03, allocations: 1.99 MB / 1.201 GB, free: 42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/2.03, allocations: 0 / 1.201 GB, free: 42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/2.031, allocations: 91.89 kB / 1.201 GB, free: 41.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/2.032, allocations: 306.4 kB / 1.201 GB, free: 41.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/2.032, allocations: 27.98 kB / 1.202 GB, free: 41.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007782/2.033, allocations: 0.8513 MB / 1.202 GB, free: 40.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/2.033, allocations: 0 / 1.202 GB, free: 40.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/2.035, allocations: 1.158 MB / 1.203 GB, free: 39.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/2.035, allocations: 212.2 kB / 1.204 GB, free: 39.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/2.035, allocations: 16 kB / 1.204 GB, free: 39.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/2.036, allocations: 39.97 kB / 1.204 GB, free: 39.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/2.036, allocations: 48.5 kB / 1.204 GB, free: 39.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.117e-05/2.036, allocations: 71.97 kB / 1.204 GB, free: 39.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005417/2.036, allocations: 459 kB / 1.204 GB, free: 38.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/2.036, allocations: 0 / 1.204 GB, free: 38.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001638/2.038, allocations: 431.8 kB / 1.205 GB, free: 38.22 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.003331/2.041, allocations: 3.006 MB / 1.208 GB, free: 35.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/2.043, allocations: 0.7592 MB / 1.208 GB, free: 34.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/2.043, allocations: 4 kB / 1.208 GB, free: 34.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006416/2.043, allocations: 339.2 kB / 1.209 GB, free: 34.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/2.045, allocations: 363.8 kB / 1.209 GB, free: 33.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007549/2.052, allocations: 16.1 MB / 1.225 GB, free: 17.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/2.053, allocations: 1.003 MB / 1.226 GB, free: 16.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001466/2.054, allocations: 0.5829 MB / 1.226 GB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/2.055, allocations: 335.3 kB / 1.227 GB, free: 15.3 MB / 458.7 MB Notification: Performance of SimCode: time 7.61e-07/2.055, allocations: 4 kB / 1.227 GB, free: 15.29 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2762/2.331, allocations: 39.58 MB / 1.265 GB, free: 80.68 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/2.331, allocations: 308.8 kB / 1.266 GB, free: 80.33 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.282/5.614, allocations: 0 / 1.266 GB, free: 80.33 MB / 458.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)