Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.001328/0.001328, 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.001562/0.001562, allocations: 212.4 kB / 22.25 MB, free: 4.859 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.479/1.479, allocations: 230.7 MB / 256 MB, free: 7.785 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.00302/0.00302, allocations: 0.5745 MB / 313 MB, free: 2.316 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.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002875/0.002875, allocations: 75.83 kB / 435.1 MB, free: 16.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1286, allocations: 53.52 MB / 488.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.002213/0.1308, allocations: 0.5539 MB / 489.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002598/0.1311, allocations: 51.81 kB / 489.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.1311, allocations: 3.938 kB / 489.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.1311, allocations: 3.938 kB / 489.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.359e-05/0.1312, allocations: 7.922 kB / 489.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.1313, allocations: 15.97 kB / 489.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.489e-05/0.1314, allocations: 47.83 kB / 489.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.242e-05/0.1315, allocations: 8 kB / 489.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.1315, allocations: 19.92 kB / 489.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.1316, allocations: 23.91 kB / 489.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.1316, allocations: 4 kB / 489.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.55e-05/0.1316, allocations: 7.938 kB / 489.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.1316, allocations: 7.984 kB / 489.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.1317, allocations: 27.84 kB / 489.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.274e-05/0.1318, allocations: 32.11 kB / 489.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1318, allocations: 0 / 489.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1318, allocations: 0 / 489.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1318, allocations: 0 / 489.5 MB, free: 10.44 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.0005558/0.1324, allocations: 298.2 kB / 489.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1324, allocations: 8.031 kB / 489.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.1324, allocations: 42.73 kB / 489.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.1325, allocations: 4.938 kB / 489.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.1326, allocations: 126.3 kB / 489.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1327, allocations: 4.375 kB / 489.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1327, allocations: 8.375 kB / 489.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1328, allocations: 70.22 kB / 490 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1328, allocations: 7.938 kB / 490 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1328, allocations: 0 / 490 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1328, allocations: 0 / 490 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.571e-05/0.1329, allocations: 43.92 kB / 490.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000531/0.1335, allocations: 283.8 kB / 490.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.1338, allocations: 118.6 kB / 490.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.274e-05/0.1339, allocations: 32.86 kB / 490.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.1339, allocations: 7.984 kB / 490.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1339, allocations: 34.56 kB / 490.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/0.1339, allocations: 0 / 490.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003543/0.1374, allocations: 0.8429 MB / 491.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.1375, allocations: 59.31 kB / 491.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1376, allocations: 109.8 kB / 491.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1376, allocations: 33.7 kB / 491.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.1377, allocations: 88.45 kB / 491.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.1378, allocations: 63.44 kB / 491.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.1378, allocations: 41.64 kB / 491.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.138, allocations: 318.8 kB / 492.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-05/0.1381, allocations: 43.97 kB / 492.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1382, allocations: 63.56 kB / 492.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/0.1409, allocations: 0.4946 MB / 492.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1409, allocations: 4 kB / 492.7 MB, free: 7 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009583/0.1419, allocations: 278 kB / 492.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.1419, allocations: 8 kB / 492.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1419, allocations: 320 / 492.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009179/0.1428, allocations: 152.7 kB / 493.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.1429, allocations: 23.92 kB / 493.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.1458, allocations: 1.868 MB / 495 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.1459, allocations: 4 kB / 495 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1459, allocations: 8 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: 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.0002189/0.1461, allocations: 125.8 kB / 495.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.1462, allocations: 7.953 kB / 495.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.1462, allocations: 24.72 kB / 495.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1462, allocations: 4 kB / 495.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1462, allocations: 192 / 495.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1462, allocations: 64 / 495.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.1476, allocations: 0.534 MB / 495.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1476, allocations: 0 / 495.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.1477, allocations: 12 kB / 495.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001938/0.1496, allocations: 288.5 kB / 496 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.1496, allocations: 8 kB / 496 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/0.1525, allocations: 1.863 MB / 497.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1525, allocations: 0 / 497.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.1536, allocations: 439.4 kB / 498.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.1536, allocations: 11.95 kB / 498.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1536, allocations: 0 / 498.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1537, allocations: 4 kB / 498.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.1538, allocations: 19.95 kB / 498.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1538, allocations: 11.98 kB / 498.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.228e-05/0.1538, allocations: 79.28 kB / 498.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1538, allocations: 0 / 498.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.1542, allocations: 36 kB / 498.4 MB, free: 0.8906 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.001429/0.1556, allocations: 0.9538 MB / 499.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008269/0.1565, allocations: 302.7 kB / 499.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1565, allocations: 0 / 499.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005922/0.157, allocations: 261.1 kB / 499.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1573, allocations: 15.88 kB / 500 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.1607, allocations: 1.963 MB / 0.4902 GB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.1608, allocations: 87.81 kB / 0.4902 GB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.859e-05/0.1608, allocations: 8.969 kB / 0.4903 GB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.1608, allocations: 19.44 kB / 0.4903 GB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1608, allocations: 0 / 0.4903 GB, free: 13.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.1954, allocations: 3.745 MB / 0.4939 GB, free: 9.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.74, allocations: 4 kB / 0.4939 GB, free: 9.562 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial_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_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.538140589836985] Failed to read output from testmodel.py, exit status != 0: 11.853354895953089 12.059565319 11.92505539 Calling exit ...