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.001361/0.001361, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001564/0.001564, allocations: 223.2 kB / 23.05 MB, free: 5.074 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002887/0.002887, allocations: 0.5723 MB / 313.8 MB, free: 2.523 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003095/0.003095, allocations: 67.91 kB / 436 MB, free: 17.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1062, allocations: 53.53 MB / 489.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001738/0.1079, allocations: 0.5881 MB / 490.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002154/0.1081, allocations: 51.8 kB / 490.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.1081, allocations: 0 / 490.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.1082, allocations: 3.938 kB / 490.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.179e-05/0.1082, allocations: 7.922 kB / 490.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.531e-05/0.1083, allocations: 11.97 kB / 490.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.694e-05/0.1084, allocations: 55.83 kB / 490.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.1085, allocations: 4 kB / 490.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.1085, allocations: 23.92 kB / 490.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.565e-05/0.1086, allocations: 27.84 kB / 490.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1086, allocations: 4 kB / 490.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.1086, allocations: 4 kB / 490.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.1086, allocations: 11.97 kB / 490.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.1087, allocations: 31.8 kB / 490.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.101e-05/0.1088, allocations: 28.12 kB / 490.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1088, allocations: 0 / 490.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1088, allocations: 0 / 490.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1088, allocations: 0 / 490.4 MB, free: 10.62 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.0004892/0.1093, allocations: 306.1 kB / 490.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1093, allocations: 8.031 kB / 490.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.665e-05/0.1093, allocations: 8.125 kB / 490.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.1093, allocations: 42.73 kB / 490.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.1094, allocations: 4.938 kB / 490.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1095, allocations: 118.4 kB / 490.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1095, allocations: 12.38 kB / 490.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1095, allocations: 4.375 kB / 490.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.1097, allocations: 73.92 kB / 490.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1097, allocations: 0 / 490.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.1097, allocations: 7.938 kB / 490.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1097, allocations: 0 / 490.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.053e-05/0.1098, allocations: 39.97 kB / 491 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.1102, allocations: 283.8 kB / 491.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.1105, allocations: 122.7 kB / 491.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.091e-05/0.1106, allocations: 32.84 kB / 491.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.1106, allocations: 0 / 491.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.1106, allocations: 38.56 kB / 491.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 8.42e-07/0.1106, allocations: 4 kB / 491.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003401/0.114, allocations: 0.8451 MB / 492.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1141, allocations: 55.31 kB / 492.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.1142, allocations: 113.8 kB / 492.4 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1142, allocations: 29.7 kB / 492.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.1142, allocations: 88.45 kB / 492.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.1143, allocations: 59.44 kB / 492.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.1144, allocations: 37.7 kB / 492.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1145, allocations: 326.8 kB / 493 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.1146, allocations: 43.98 kB / 493 MB, free: 7.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.537e-05/0.1147, allocations: 65.62 kB / 493.1 MB, free: 7.664 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.002756/0.1174, allocations: 0.4938 MB / 493.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1174, allocations: 0 / 493.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009644/0.1184, allocations: 270.1 kB / 493.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1184, allocations: 12.03 kB / 493.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1184, allocations: 3.938 kB / 493.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009215/0.1194, allocations: 152.7 kB / 494 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/0.1194, allocations: 27.92 kB / 494 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/0.1223, allocations: 1.883 MB / 495.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/0.1224, allocations: 4 kB / 495.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1224, allocations: 4 kB / 495.9 MB, free: 4.691 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.0001337/0.1225, allocations: 125.8 kB / 496 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1226, allocations: 7.953 kB / 496.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.1226, allocations: 16.78 kB / 496.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1226, allocations: 4 kB / 496.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1226, allocations: 4 kB / 496.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1226, allocations: 4.031 kB / 496.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.124, allocations: 0.5379 MB / 496.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.124, allocations: 0 / 496.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.124, allocations: 15.98 kB / 496.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.1261, allocations: 288.4 kB / 496.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1261, allocations: 4 kB / 496.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.1288, allocations: 1.871 MB / 498.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1288, allocations: 8 kB / 498.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.1299, allocations: 435.7 kB / 499.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.1299, allocations: 8.047 kB / 499.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.13, allocations: 15.92 kB / 499.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1301, allocations: 4 kB / 499.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1301, allocations: 19.95 kB / 499.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.1301, allocations: 4 kB / 499.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.359e-05/0.1302, allocations: 91.56 kB / 499.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1302, allocations: 4 kB / 499.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.1305, allocations: 32 kB / 499.4 MB, free: 1.012 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.132, allocations: 0.9443 MB / 0.4886 GB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.133, allocations: 308.6 kB / 0.4889 GB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.133, allocations: 4 kB / 0.4889 GB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005907/0.1336, allocations: 254.5 kB / 0.4892 GB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.1338, allocations: 12 kB / 0.4892 GB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.1371, allocations: 1.969 MB / 0.4911 GB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1374, allocations: 0.7046 MB / 0.4918 GB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.23e-05/0.1374, allocations: 8.969 kB / 0.4918 GB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.1375, allocations: 23.44 kB / 0.4918 GB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1375, allocations: 0 / 0.4918 GB, free: 12.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.1645, allocations: 3.321 MB / 0.4951 GB, free: 9.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.32, allocations: 8.062 kB / 0.4951 GB, free: 9.496 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: 15.164090598991606] Failed to read output from testmodel.py, exit status != 0: 12.481357940996531 12.724626699 12.61280074 Calling exit ...