Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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.00138/0.00138, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001505/0.001505, allocations: 213.3 kB / 22.24 MB, free: 5.242 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.789 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.003309/0.003309, allocations: 0.5818 MB / 313 MB, free: 2.293 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.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 75.88 kB / 435.1 MB, free: 16.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09226, allocations: 53.52 MB / 488.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001642/0.09391, allocations: 0.5588 MB / 489.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00022/0.09413, allocations: 55.81 kB / 489.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.09416, allocations: 0 / 489.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.09418, allocations: 0 / 489.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.846e-05/0.09425, allocations: 11.92 kB / 489.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.563e-05/0.09435, allocations: 15.91 kB / 489.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.09444, allocations: 51.83 kB / 489.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.09448, allocations: 0 / 489.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/0.09453, allocations: 27.91 kB / 489.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.0946, allocations: 23.91 kB / 489.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.09462, allocations: 4 kB / 489.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.09463, allocations: 8 kB / 489.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.09465, allocations: 11.92 kB / 489.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.09469, allocations: 23.86 kB / 489.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.455e-05/0.09478, allocations: 34.73 kB / 489.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.09479, allocations: 0 / 489.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.09479, allocations: 3.984 kB / 489.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.09479, allocations: 0 / 489.5 MB, free: 10.41 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.0005521/0.09535, allocations: 294.2 kB / 489.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.09539, allocations: 16.02 kB / 489.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.09543, allocations: 42.75 kB / 489.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.09546, allocations: 4.938 kB / 489.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.09561, allocations: 118.4 kB / 489.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.09563, allocations: 8.375 kB / 489.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.09566, allocations: 8.375 kB / 490 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.09579, allocations: 70.22 kB / 490 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.0958, allocations: 3.938 kB / 490 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.09581, allocations: 0 / 490 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.09581, allocations: 3.938 kB / 490 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.979e-05/0.09589, allocations: 35.98 kB / 490.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.09641, allocations: 287.7 kB / 490.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.09668, allocations: 98.53 kB / 490.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.09674, allocations: 32.86 kB / 490.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.09675, allocations: 0 / 490.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.09679, allocations: 38.55 kB / 490.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.09679, allocations: 0 / 490.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003183/0.09998, allocations: 0.7631 MB / 491.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1, allocations: 59.39 kB / 491.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.1001, allocations: 109.8 kB / 491.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1001, allocations: 37.69 kB / 491.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.1002, allocations: 88.08 kB / 491.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.1002, allocations: 59.48 kB / 491.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.1003, allocations: 33.7 kB / 491.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1005, allocations: 322.8 kB / 492 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.1005, allocations: 39.98 kB / 492 MB, free: 7.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1006, allocations: 61.7 kB / 492.1 MB, free: 7.59 MB / 350.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002542/0.1032, allocations: 486.2 kB / 492.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1032, allocations: 0 / 492.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001492/0.1047, allocations: 328.8 kB / 492.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1047, allocations: 4 kB / 492.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1047, allocations: 4.312 kB / 492.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/0.1065, allocations: 256.6 kB / 493.1 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.1066, allocations: 27.92 kB / 493.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/0.1101, allocations: 1.826 MB / 495 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.586e-05/0.1102, allocations: 12.06 kB / 495 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1102, allocations: 4 kB / 495 MB, free: 4.539 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: $DER.E1 = 0.0. 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 (10): * Single equations (assignments): 9 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.1104, allocations: 125.8 kB / 495.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.1105, allocations: 11.83 kB / 495.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.1105, allocations: 20.44 kB / 495.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1105, allocations: 0 / 495.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.1105, allocations: 4 kB / 495.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1105, allocations: 0 / 495.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.1108, allocations: 168.6 kB / 495.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1108, allocations: 4 kB / 495.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.1108, allocations: 8 kB / 495.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/0.1128, allocations: 272.5 kB / 495.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1128, allocations: 4 kB / 495.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/0.1152, allocations: 1.836 MB / 497.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1152, allocations: 0 / 497.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.1163, allocations: 396 kB / 497.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.1163, allocations: 4 kB / 497.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1164, allocations: 7.969 kB / 497.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1165, allocations: 8 kB / 497.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.1165, allocations: 11.97 kB / 497.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1165, allocations: 4 kB / 497.9 MB, free: 1.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.463e-05/0.1166, allocations: 87.27 kB / 497.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1166, allocations: 0 / 497.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003368/0.1169, allocations: 36 kB / 498 MB, free: 1.371 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,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 (8): * Single equations (assignments): 7 * 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 {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001414/0.1183, allocations: 0.9277 MB / 498.9 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008261/0.1191, allocations: 330.3 kB / 499.2 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1191, allocations: 0 / 499.2 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.1195, allocations: 229.7 kB / 499.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1197, allocations: 4 kB / 499.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.124, allocations: 2.026 MB / 0.4897 GB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.898e-05/0.1241, allocations: 95.81 kB / 0.4898 GB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.897e-05/0.1241, allocations: 0.5 kB / 0.4898 GB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.1242, allocations: 31.36 kB / 0.4898 GB, free: 13.57 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1242, allocations: 0 / 0.4898 GB, free: 13.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.1585, allocations: 4.285 MB / 0.494 GB, free: 9.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.3, allocations: 2.5 kB / 0.494 GB, free: 9.484 MB / 366.1 MB " [Timeout remaining time 647] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy_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_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.163201370742172] Failed to read output from testmodel.py, exit status != 0: 13.419448841828853 13.625010873 13.526555646 Calling exit ...