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.001368/0.001368, 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.001771/0.001771, allocations: 216.8 kB / 22.25 MB, free: 5.121 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.969 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.003621/0.003621, allocations: 0.5802 MB / 313 MB, free: 2.488 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.001995/0.001995, allocations: 63.91 kB / 435.2 MB, free: 17.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1105, allocations: 53.52 MB / 488.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.002253/0.1127, allocations: 0.5979 MB / 489.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002281/0.113, allocations: 51.8 kB / 489.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.113, allocations: 0 / 489.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.113, allocations: 3.938 kB / 489.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.238e-05/0.1131, allocations: 11.88 kB / 489.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.1132, allocations: 15.97 kB / 489.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.89e-05/0.1133, allocations: 43.91 kB / 489.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.911e-05/0.1134, allocations: 4 kB / 489.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.1134, allocations: 19.92 kB / 489.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.858e-05/0.1135, allocations: 35.83 kB / 489.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.1135, allocations: 4 kB / 489.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.1136, allocations: 4 kB / 489.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.1136, allocations: 11.92 kB / 489.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.1136, allocations: 27.8 kB / 489.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.544e-05/0.1137, allocations: 36.09 kB / 489.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1137, allocations: 0 / 489.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1137, allocations: 0 / 489.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.1137, allocations: 4 kB / 489.6 MB, free: 10.57 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.0005528/0.1143, allocations: 298.2 kB / 489.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1143, allocations: 8.031 kB / 489.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.247e-05/0.1144, allocations: 34.75 kB / 489.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.1144, allocations: 4.938 kB / 489.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.1146, allocations: 118.4 kB / 490 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1146, allocations: 12.38 kB / 490 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.1146, allocations: 12.31 kB / 490.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1147, allocations: 74.11 kB / 490.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1148, allocations: 3.938 kB / 490.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1148, allocations: 4 kB / 490.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1148, allocations: 0 / 490.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.146e-05/0.1149, allocations: 31.98 kB / 490.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.1154, allocations: 283.8 kB / 490.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.1157, allocations: 126.6 kB / 490.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.226e-05/0.1158, allocations: 40.84 kB / 490.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.1158, allocations: 0 / 490.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1158, allocations: 30.56 kB / 490.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.1158, allocations: 4 kB / 490.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003527/0.1194, allocations: 0.8519 MB / 491.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1194, allocations: 55.31 kB / 491.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1195, allocations: 113.8 kB / 491.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.1195, allocations: 29.7 kB / 491.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.1196, allocations: 80.47 kB / 491.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/0.1197, allocations: 71.42 kB / 491.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.1197, allocations: 37.66 kB / 491.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1199, allocations: 326.8 kB / 492.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.12, allocations: 39.98 kB / 492.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.48e-05/0.12, allocations: 63.38 kB / 492.3 MB, free: 7.629 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.00272/0.1228, allocations: 0.4918 MB / 492.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.1228, allocations: 0 / 492.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000964/0.1237, allocations: 277 kB / 493.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1237, allocations: 11.97 kB / 493.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1238, allocations: 4 kB / 493.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009177/0.1247, allocations: 164.6 kB / 493.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.1248, allocations: 16 kB / 493.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.1278, allocations: 1.875 MB / 495.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-05/0.1278, allocations: 7.938 kB / 495.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1278, allocations: 8 kB / 495.1 MB, free: 4.652 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.0001436/0.128, allocations: 117.8 kB / 495.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.128, allocations: 7.953 kB / 495.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.213e-05/0.1281, allocations: 20.81 kB / 495.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1281, allocations: 4 kB / 495.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1281, allocations: 4 kB / 495.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1281, allocations: 0 / 495.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.1295, allocations: 0.5418 MB / 495.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1295, allocations: 0 / 495.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.1296, allocations: 12 kB / 495.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00189/0.1315, allocations: 292.4 kB / 496.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.1315, allocations: 4 kB / 496.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/0.1342, allocations: 1.88 MB / 498 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1342, allocations: 0 / 498 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.1353, allocations: 432.8 kB / 498.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.1353, allocations: 15.89 kB / 498.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1354, allocations: 4 kB / 498.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1355, allocations: 8.031 kB / 498.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.1355, allocations: 19.91 kB / 498.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1355, allocations: 4 kB / 498.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.479e-05/0.1356, allocations: 87.27 kB / 498.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1356, allocations: 0 / 498.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003364/0.1359, allocations: 36 kB / 498.6 MB, free: 0.9805 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.001453/0.1374, allocations: 0.9512 MB / 499.6 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007925/0.1382, allocations: 298.5 kB / 499.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1382, allocations: 4 kB / 499.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005823/0.1388, allocations: 258.4 kB / 0.4884 GB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.139, allocations: 14.08 kB / 0.4884 GB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.1423, allocations: 1.96 MB / 0.4903 GB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1427, allocations: 0.7007 MB / 0.491 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.408e-05/0.1427, allocations: 8.969 kB / 0.491 GB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.365e-05/0.1428, allocations: 23.44 kB / 0.491 GB, free: 12.6 MB / 366.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1428, allocations: 0 / 0.491 GB, free: 12.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.1773, allocations: 3.305 MB / 0.4943 GB, free: 9.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12, allocations: 12 kB / 0.4943 GB, free: 9.473 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.835493525955826] Failed to read output from testmodel.py, exit status != 0: 12.102650118991733 12.315042732 12.19845745 Calling exit ...