Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.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.001352/0.001352, 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.001454/0.001454, allocations: 220.6 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.973 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.002869/0.002869, allocations: 0.5823 MB / 313 MB, free: 2.508 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.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 435.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1094, allocations: 53.52 MB / 488.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.002393/0.1118, allocations: 0.5707 MB / 489.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003377/0.1122, allocations: 59.8 kB / 489.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.1122, allocations: 0 / 489.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.1123, allocations: 3.938 kB / 489.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.1124, allocations: 11.86 kB / 489.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.1126, allocations: 15.97 kB / 489.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.1127, allocations: 43.91 kB / 489.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.122e-05/0.1128, allocations: 3.984 kB / 489.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.92e-05/0.1128, allocations: 27.86 kB / 489.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1129, allocations: 39.77 kB / 489.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.113, allocations: 8 kB / 489.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.113, allocations: 0 / 489.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.113, allocations: 11.98 kB / 489.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.1131, allocations: 31.8 kB / 489.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1132, allocations: 28.11 kB / 489.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.1132, allocations: 0 / 489.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1132, allocations: 0 / 489.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.1132, allocations: 0 / 489.6 MB, free: 10.61 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.0007778/0.114, allocations: 306.2 kB / 489.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.114, allocations: 8.031 kB / 489.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.247e-05/0.1141, allocations: 38.73 kB / 489.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.1142, allocations: 4.938 kB / 489.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1143, allocations: 118.4 kB / 490 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1143, allocations: 4.375 kB / 490 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.1144, allocations: 16.31 kB / 490 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1145, allocations: 62.23 kB / 490.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.1146, allocations: 3.938 kB / 490.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1146, allocations: 12 kB / 490.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1146, allocations: 3.984 kB / 490.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.864e-05/0.1147, allocations: 35.97 kB / 490.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.1152, allocations: 279.8 kB / 490.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.1155, allocations: 114.6 kB / 490.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.1156, allocations: 44.84 kB / 490.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1156, allocations: 0 / 490.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1156, allocations: 30.56 kB / 490.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.1156, allocations: 4 kB / 490.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002825/0.1185, allocations: 0.7084 MB / 491.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.1185, allocations: 59.25 kB / 491.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1187, allocations: 113.8 kB / 491.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1187, allocations: 29.7 kB / 491.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.1188, allocations: 88.45 kB / 491.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.1188, allocations: 67.42 kB / 491.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-05/0.1189, allocations: 33.72 kB / 491.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1191, allocations: 326.8 kB / 492 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.1192, allocations: 39.97 kB / 492.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.943e-05/0.1193, allocations: 67.2 kB / 492.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/0.1219, allocations: 0.4954 MB / 492.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1219, allocations: 0 / 492.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001621/0.1236, allocations: 366 kB / 493 MB, free: 6.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.1236, allocations: 19 kB / 493 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1236, allocations: 0 / 493 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001777/0.1254, allocations: 288.6 kB / 493.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.1254, allocations: 15.94 kB / 493.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004059/0.1295, allocations: 2.27 MB / 495.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.1296, allocations: 3.938 kB / 495.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1296, allocations: 8 kB / 495.6 MB, free: 4.23 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.p2 = 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.1298, allocations: 121.8 kB / 495.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.1298, allocations: 11.94 kB / 495.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.1299, allocations: 20.78 kB / 495.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1299, allocations: 0 / 495.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.1299, allocations: 4 kB / 495.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1299, allocations: 0 / 495.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.1313, allocations: 0.5486 MB / 496.3 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1313, allocations: 0 / 496.3 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.1313, allocations: 11.94 kB / 496.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/0.1333, allocations: 288.5 kB / 496.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1333, allocations: 0 / 496.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002601/0.1359, allocations: 1.891 MB / 498.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1359, allocations: 0 / 498.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.1369, allocations: 420.8 kB / 498.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.137, allocations: 11.95 kB / 498.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.137, allocations: 8.031 kB / 498.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1371, allocations: 4 kB / 498.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.1371, allocations: 15.91 kB / 498.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.1372, allocations: 7.938 kB / 498.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.907e-05/0.1372, allocations: 95.27 kB / 499 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1372, allocations: 0 / 499 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.1376, allocations: 43.94 kB / 499.1 MB, free: 0.5469 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.001416/0.139, allocations: 0.9442 MB / 0.4883 GB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006888/0.1397, allocations: 310.4 kB / 0.4886 GB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1397, allocations: 0 / 0.4886 GB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005601/0.1403, allocations: 250.5 kB / 0.4888 GB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.1405, allocations: 11.94 kB / 0.4888 GB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.145, allocations: 2.143 MB / 0.4909 GB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1453, allocations: 0.7008 MB / 0.4916 GB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.1453, allocations: 4.984 kB / 0.4916 GB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.1454, allocations: 31.42 kB / 0.4917 GB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1454, allocations: 0 / 0.4917 GB, free: 11.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.1779, allocations: 4.153 MB / 0.4957 GB, free: 8.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.1, allocations: 19.22 kB / 0.4957 GB, free: 8.008 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature_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_TwoVolumesEquationsFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.968561515001056] Failed to read output from testmodel.py, exit status != 0: 12.217119501001434 12.442968691 12.326946673 Calling exit ...