Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005165/0.005165, allocations: 99.34 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 195.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002855/0.002855, allocations: 0.562 MB / 291.1 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 58.69 kB / 402 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/0.08923, allocations: 49.59 MB / 451.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001775/0.09105, allocations: 0.6037 MB / 452.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002182/0.09128, allocations: 39.81 kB / 452.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.819e-05/0.09133, allocations: 0 / 452.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.09136, allocations: 7.938 kB / 452.2 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.766e-05/0.09145, allocations: 7.922 kB / 452.2 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.585e-05/0.09155, allocations: 11.98 kB / 452.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.85e-05/0.09166, allocations: 55.81 kB / 452.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.09172, allocations: 0 / 452.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.09176, allocations: 23.92 kB / 452.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.866e-05/0.09185, allocations: 27.84 kB / 452.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.09188, allocations: 8 kB / 452.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.0919, allocations: 4 kB / 452.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.09193, allocations: 11.98 kB / 452.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.09198, allocations: 19.86 kB / 452.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.157e-05/0.09207, allocations: 34.5 kB / 452.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.09209, allocations: 3.984 kB / 452.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09209, allocations: 0 / 452.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.0921, allocations: 0 / 452.4 MB, free: 5.035 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000569/0.09268, allocations: 376.2 kB / 452.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.09273, allocations: 15.88 kB / 452.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.09279, allocations: 38.75 kB / 452.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.09283, allocations: 8.891 kB / 452.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.09301, allocations: 172.3 kB / 453 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.09303, allocations: 4.375 kB / 453 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.09307, allocations: 8.375 kB / 453 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.09322, allocations: 74.22 kB / 453.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.09324, allocations: 7.938 kB / 453.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.09326, allocations: 0 / 453.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.09327, allocations: 3.938 kB / 453.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-05/0.09335, allocations: 39.92 kB / 453.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.09389, allocations: 304.9 kB / 453.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.09421, allocations: 134.5 kB / 453.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.09429, allocations: 40.84 kB / 453.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.0943, allocations: 0 / 453.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.09435, allocations: 30.56 kB / 453.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.09435, allocations: 0 / 453.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.003611/0.09797, allocations: 0.9262 MB / 454.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.09803, allocations: 55.41 kB / 454.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.09816, allocations: 113.8 kB / 454.7 MB, free: 2.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.09819, allocations: 29.7 kB / 454.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.09827, allocations: 96.34 kB / 454.8 MB, free: 2.324 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.09833, allocations: 55.5 kB / 454.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.09841, allocations: 37.7 kB / 454.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.09859, allocations: 322.8 kB / 455.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.09868, allocations: 43.98 kB / 455.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.09879, allocations: 70.94 kB / 455.4 MB, free: 1.785 MB / 318.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.1017, allocations: 0.568 MB / 455.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1017, allocations: 0 / 455.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001002/0.1027, allocations: 278.1 kB / 456.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1027, allocations: 4 kB / 456.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1027, allocations: 0 / 456.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009542/0.1037, allocations: 168.7 kB / 456.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.1038, allocations: 23.88 kB / 456.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.1067, allocations: 1.975 MB / 458.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/0.1068, allocations: 4 kB / 458.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1069, allocations: 8.047 kB / 458.4 MB, free: 14.59 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: p1 = 1e5. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.107, allocations: 136.5 kB / 458.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.107, allocations: 7.953 kB / 458.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.1071, allocations: 16.84 kB / 458.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1071, allocations: 0 / 458.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1071, allocations: 4 kB / 458.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1071, allocations: 0 / 458.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.1085, allocations: 0.574 MB / 459.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1085, allocations: 0 / 459.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.1086, allocations: 20.02 kB / 459.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002017/0.1106, allocations: 280.5 kB / 459.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.1106, allocations: 8 kB / 459.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/0.1134, allocations: 1.983 MB / 461.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1135, allocations: 0 / 461.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.1146, allocations: 436.7 kB / 461.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.1147, allocations: 85.25 kB / 461.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.1147, allocations: 8 kB / 461.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1148, allocations: 3.938 kB / 461.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.1149, allocations: 23.95 kB / 461.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.1149, allocations: 4 kB / 462 MB, free: 10.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.098e-05/0.115, allocations: 95.52 kB / 462 MB, free: 10.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.115, allocations: 0 / 462 MB, free: 10.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003548/0.1153, allocations: 32 kB / 462.1 MB, free: 10.65 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,T1,T2) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001388/0.1167, allocations: 0.9555 MB / 463 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000809/0.1175, allocations: 322.4 kB / 463.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1176, allocations: 0 / 463.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.1181, allocations: 254.5 kB / 463.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.1184, allocations: 11.94 kB / 463.6 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.1216, allocations: 1.959 MB / 465.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.122, allocations: 0.7084 MB / 466.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.102e-05/0.122, allocations: 8.891 kB / 466.3 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.1221, allocations: 27.42 kB / 466.3 MB, free: 6.234 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1221, allocations: 0 / 466.3 MB, free: 6.234 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.1519, allocations: 3.157 MB / 469.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.804/9.955, allocations: 15.25 kB / 469.5 MB, free: 3.289 MB / 334.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1)