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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00244/0.00244, allocations: 216.9 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.002885/0.002885, allocations: 0.5713 MB / 313 MB, free: 2.328 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.84 kB / 435.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09514/0.09717, allocations: 53.52 MB / 488.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001732/0.0989, allocations: 0.589 MB / 489.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002141/0.09912, allocations: 47.81 kB / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.09915, allocations: 0 / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.09917, allocations: 3.938 kB / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.09924, allocations: 3.938 kB / 489.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.608e-05/0.09933, allocations: 19.95 kB / 489.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.343e-05/0.09942, allocations: 43.84 kB / 489.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.09947, allocations: 4 kB / 489.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.321e-05/0.09951, allocations: 19.92 kB / 489.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.35e-05/0.0996, allocations: 31.84 kB / 489.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.09962, allocations: 4 kB / 489.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.09963, allocations: 4 kB / 489.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.09965, allocations: 7.984 kB / 489.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.09969, allocations: 27.84 kB / 489.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.11e-05/0.09977, allocations: 32.11 kB / 489.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.09978, allocations: 0 / 489.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.09978, allocations: 3.938 kB / 489.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.09978, allocations: 0 / 489.5 MB, free: 10.43 MB / 350.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.0005363/0.1003, allocations: 302.2 kB / 489.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1004, allocations: 8.031 kB / 489.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.1004, allocations: 38.75 kB / 489.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.1004, allocations: 4.938 kB / 489.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.1006, allocations: 126.4 kB / 490 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1006, allocations: 384 / 490 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1006, allocations: 12.38 kB / 490 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1008, allocations: 68.36 kB / 490 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1008, allocations: 3.938 kB / 490 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1008, allocations: 0 / 490 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1008, allocations: 4 kB / 490 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.583e-05/0.1009, allocations: 43.92 kB / 490.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.1014, allocations: 275.8 kB / 490.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.1017, allocations: 126.5 kB / 490.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.895e-05/0.1018, allocations: 36.84 kB / 490.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.1018, allocations: 3.984 kB / 490.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1018, allocations: 34.56 kB / 490.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.1018, allocations: 0 / 490.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003505/0.1053, allocations: 0.8449 MB / 491.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.1054, allocations: 63.3 kB / 491.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.1055, allocations: 113.8 kB / 491.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1055, allocations: 33.7 kB / 491.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.1056, allocations: 84.47 kB / 491.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/0.1056, allocations: 63.44 kB / 491.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.1057, allocations: 37.7 kB / 491.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1059, allocations: 322.8 kB / 492.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-05/0.1059, allocations: 39.98 kB / 492.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.106, allocations: 61.69 kB / 492.2 MB, free: 7.488 MB / 350.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.1088, allocations: 0.4964 MB / 492.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1088, allocations: 4 kB / 492.7 MB, free: 6.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001021/0.1098, allocations: 274.1 kB / 493 MB, free: 6.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1099, allocations: 10.66 kB / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1099, allocations: 0 / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009327/0.1108, allocations: 156.7 kB / 493.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.1109, allocations: 23.94 kB / 493.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.1137, allocations: 1.864 MB / 495 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.1138, allocations: 4 kB / 495 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.1138, allocations: 8.188 kB / 495 MB, free: 4.527 MB / 350.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.0001274/0.1139, allocations: 125.7 kB / 495.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.114, allocations: 11.95 kB / 495.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.114, allocations: 16.78 kB / 495.2 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.114, allocations: 4 kB / 495.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.114, allocations: 0 / 495.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.114, allocations: 4.031 kB / 495.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.1154, allocations: 0.5262 MB / 495.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1154, allocations: 0 / 495.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.1155, allocations: 15.98 kB / 495.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/0.1175, allocations: 288.4 kB / 496 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1175, allocations: 4 kB / 496 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/0.1203, allocations: 1.875 MB / 497.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1203, allocations: 0 / 497.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.1214, allocations: 428.7 kB / 498.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.1214, allocations: 15.98 kB / 498.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.1214, allocations: 4 kB / 498.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1215, allocations: 4 kB / 498.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1216, allocations: 19.91 kB / 498.3 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1216, allocations: 4 kB / 498.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.896e-05/0.1216, allocations: 87.45 kB / 498.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1216, allocations: 0 / 498.4 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003712/0.122, allocations: 39.94 kB / 498.5 MB, free: 0.8711 MB / 350.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.00146/0.1235, allocations: 0.9457 MB / 499.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008368/0.1243, allocations: 306.5 kB / 499.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1243, allocations: 0 / 499.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006124/0.1249, allocations: 254.5 kB / 500 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.1252, allocations: 14.75 kB / 500 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/0.1285, allocations: 1.964 MB / 0.4902 GB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.1286, allocations: 91.81 kB / 0.4903 GB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.268e-05/0.1286, allocations: 4.984 kB / 0.4903 GB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.1287, allocations: 27.42 kB / 0.4903 GB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1287, allocations: 0 / 0.4903 GB, free: 13.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.1649, allocations: 3.741 MB / 0.494 GB, free: 9.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.21, allocations: 12 kB / 0.494 GB, free: 9.551 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.090824521612376] Failed to read output from testmodel.py, exit status != 0: 12.316806399729103 12.558359387 12.45465167 Calling exit ...