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.001845/0.001845, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001626/0.001626, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.965 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.002872/0.002872, allocations: 0.5826 MB / 313 MB, free: 2.492 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.001894/0.001894, allocations: 67.89 kB / 435.2 MB, free: 17.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09842/0.1003, allocations: 53.52 MB / 488.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001775/0.1021, allocations: 0.5823 MB / 489.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000226/0.1023, allocations: 55.73 kB / 489.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.1024, allocations: 0 / 489.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.1024, allocations: 3.938 kB / 489.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.744e-05/0.1024, allocations: 3.938 kB / 489.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.1026, allocations: 15.97 kB / 489.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.921e-05/0.1027, allocations: 51.81 kB / 489.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.1027, allocations: 4 kB / 489.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.409e-05/0.1028, allocations: 27.92 kB / 489.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.83e-05/0.1028, allocations: 27.84 kB / 489.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1029, allocations: 4 kB / 489.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.1029, allocations: 4 kB / 489.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.1029, allocations: 15.97 kB / 489.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.1029, allocations: 31.8 kB / 489.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.463e-05/0.103, allocations: 24.11 kB / 489.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.103, allocations: 4 kB / 489.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.103, allocations: 0 / 489.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.103, allocations: 0 / 489.6 MB, free: 10.6 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.0005401/0.1036, allocations: 306.1 kB / 489.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1036, allocations: 12.03 kB / 489.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.1037, allocations: 38.73 kB / 489.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.1037, allocations: 4.938 kB / 489.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.1038, allocations: 114.4 kB / 490 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1038, allocations: 8.375 kB / 490 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1039, allocations: 8.375 kB / 490 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.104, allocations: 70.22 kB / 490.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.104, allocations: 7.875 kB / 490.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.104, allocations: 8 kB / 490.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.104, allocations: 4 kB / 490.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.1041, allocations: 35.92 kB / 490.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.1046, allocations: 279.8 kB / 490.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.1049, allocations: 102.5 kB / 490.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.1049, allocations: 28.84 kB / 490.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.105, allocations: 8 kB / 490.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.105, allocations: 34.5 kB / 490.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.105, allocations: 0 / 490.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003084/0.1081, allocations: 0.7788 MB / 491.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1081, allocations: 51.41 kB / 491.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.29e-05/0.1082, allocations: 113.8 kB / 491.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1082, allocations: 29.7 kB / 491.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.1083, allocations: 80.14 kB / 491.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.1083, allocations: 59.48 kB / 491.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.1084, allocations: 45.58 kB / 491.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1085, allocations: 322.8 kB / 492.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.1086, allocations: 43.98 kB / 492.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.1087, allocations: 61.69 kB / 492.2 MB, free: 7.758 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.002407/0.1111, allocations: 478.3 kB / 492.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1111, allocations: 0 / 492.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001418/0.1125, allocations: 326 kB / 493 MB, free: 6.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1125, allocations: 4 kB / 493 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1125, allocations: 0 / 493 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/0.1142, allocations: 272.5 kB / 493.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.531e-05/0.1143, allocations: 12 kB / 493.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003242/0.1176, allocations: 1.853 MB / 495.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.1176, allocations: 64 / 495.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1176, allocations: 8 kB / 495.1 MB, free: 4.699 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.0002078/0.1178, allocations: 117.8 kB / 495.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.1179, allocations: 11.89 kB / 495.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.1179, allocations: 24.42 kB / 495.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1179, allocations: 0 / 495.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1179, allocations: 128 / 495.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1179, allocations: 12 kB / 495.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.1182, allocations: 168.7 kB / 495.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1182, allocations: 0 / 495.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.1182, allocations: 15.92 kB / 495.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001737/0.1199, allocations: 276.5 kB / 495.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.12, allocations: 4 kB / 495.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/0.1222, allocations: 1.836 MB / 497.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1222, allocations: 0 / 497.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009957/0.1232, allocations: 400.1 kB / 497.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.1232, allocations: 11.95 kB / 498 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1232, allocations: 3.938 kB / 498 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1233, allocations: 8 kB / 498 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.1234, allocations: 16.14 kB / 498 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1234, allocations: 3.984 kB / 498 MB, free: 1.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.661e-05/0.1234, allocations: 87.28 kB / 498.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1234, allocations: 4 kB / 498.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.1237, allocations: 36 kB / 498.1 MB, free: 1.504 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.00133/0.1251, allocations: 0.9306 MB / 499 MB, free: 0.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007782/0.1258, allocations: 330.3 kB / 499.4 MB, free: 212 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1258, allocations: 0 / 499.4 MB, free: 212 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.1262, allocations: 221.4 kB / 499.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.1264, allocations: 12 kB / 499.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.1305, allocations: 2.028 MB / 0.4899 GB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.1308, allocations: 0.7085 MB / 0.4906 GB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.79e-05/0.1308, allocations: 4.484 kB / 0.4906 GB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.1309, allocations: 23.44 kB / 0.4906 GB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1309, allocations: 3.938 kB / 0.4906 GB, free: 13.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.1628, allocations: 3.905 MB / 0.4944 GB, free: 9.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.03, allocations: 14.52 kB / 0.4944 GB, free: 9.359 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.789501839000877] Failed to read output from testmodel.py, exit status != 0: 12.138825546997396 12.339976206 12.234234184 Calling exit ...