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.001792/0.001792, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001513/0.001513, allocations: 218.5 kB / 23.03 MB, free: 4.945 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002943/0.002943, allocations: 0.5748 MB / 313.8 MB, free: 2.324 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 71.88 kB / 435.9 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.0936, allocations: 53.52 MB / 489.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.001763/0.09537, allocations: 0.5511 MB / 490 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002163/0.09558, allocations: 59.81 kB / 490 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.09562, allocations: 0 / 490 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.09564, allocations: 3.938 kB / 490 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.093e-05/0.09571, allocations: 3.938 kB / 490 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.037e-05/0.0958, allocations: 11.97 kB / 490.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.762e-05/0.09589, allocations: 51.83 kB / 490.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.09594, allocations: 4 kB / 490.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.928e-05/0.09598, allocations: 23.92 kB / 490.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.09605, allocations: 27.89 kB / 490.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.09607, allocations: 7.938 kB / 490.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.09608, allocations: 8 kB / 490.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.09611, allocations: 11.97 kB / 490.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.09614, allocations: 19.88 kB / 490.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.605e-05/0.09623, allocations: 36.09 kB / 490.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.09624, allocations: 3.938 kB / 490.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09624, allocations: 0 / 490.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.09624, allocations: 0 / 490.2 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.0005267/0.09677, allocations: 302.1 kB / 490.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.0968, allocations: 16.03 kB / 490.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.888e-05/0.09682, allocations: 4.188 kB / 490.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.09686, allocations: 42.67 kB / 490.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.09688, allocations: 4.938 kB / 490.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.09701, allocations: 118.4 kB / 490.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.09702, allocations: 384 / 490.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.09705, allocations: 12.38 kB / 490.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.09719, allocations: 69.98 kB / 490.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.0972, allocations: 3.938 kB / 490.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.09721, allocations: 4 kB / 490.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.09722, allocations: 0 / 490.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.09731, allocations: 43.97 kB / 490.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.09778, allocations: 275.8 kB / 491.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.09806, allocations: 110.7 kB / 491.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.09814, allocations: 36.84 kB / 491.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.09815, allocations: 4 kB / 491.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.09818, allocations: 30.56 kB / 491.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.09818, allocations: 0 / 491.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002811/0.101, allocations: 0.7123 MB / 492 MB, free: 8.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.101, allocations: 59.31 kB / 492.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.1012, allocations: 113.8 kB / 492.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1012, allocations: 29.7 kB / 492.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1013, allocations: 84.47 kB / 492.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.321e-05/0.1013, allocations: 63.44 kB / 492.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.1014, allocations: 37.7 kB / 492.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1016, allocations: 318.8 kB / 492.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.1016, allocations: 43.98 kB / 492.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1018, allocations: 76.62 kB / 492.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002942/0.1047, allocations: 496.2 kB / 493.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1047, allocations: 0 / 493.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00172/0.1064, allocations: 386 kB / 493.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1064, allocations: 4 kB / 493.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1064, allocations: 0 / 493.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/0.1083, allocations: 283.8 kB / 494 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.602e-05/0.1084, allocations: 12 kB / 494 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004478/0.1128, allocations: 2.263 MB / 496.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.409e-05/0.1129, allocations: 4 kB / 496.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1129, allocations: 4 kB / 496.2 MB, free: 4.086 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.0002332/0.1132, allocations: 121.8 kB / 496.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.1132, allocations: 7.953 kB / 496.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.1133, allocations: 28.78 kB / 496.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1133, allocations: 0 / 496.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.1133, allocations: 4 kB / 496.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1133, allocations: 0 / 496.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.1147, allocations: 0.5367 MB / 496.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1147, allocations: 0 / 496.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.1148, allocations: 8 kB / 496.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00206/0.1168, allocations: 292.5 kB / 497.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.1169, allocations: 4 kB / 497.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/0.1197, allocations: 1.86 MB / 499.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1197, allocations: 8 kB / 499.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.1208, allocations: 432.7 kB / 499.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.1209, allocations: 3.953 kB / 499.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1209, allocations: 4 kB / 499.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.121, allocations: 11.94 kB / 499.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.121, allocations: 15.95 kB / 499.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.121, allocations: 11.98 kB / 499.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.245e-05/0.1211, allocations: 83.28 kB / 499.7 MB, free: 484 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1211, allocations: 0 / 499.7 MB, free: 484 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003939/0.1215, allocations: 40 kB / 499.7 MB, free: 444 kB / 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.001492/0.123, allocations: 0.9484 MB / 0.4889 GB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007042/0.1237, allocations: 318.6 kB / 0.4892 GB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1237, allocations: 0 / 0.4892 GB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.1243, allocations: 250.4 kB / 0.4895 GB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.1245, allocations: 12 kB / 0.4895 GB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.1293, allocations: 2.141 MB / 0.4916 GB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.366e-05/0.1294, allocations: 91.97 kB / 0.4916 GB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.744e-05/0.1294, allocations: 4.984 kB / 0.4916 GB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.1295, allocations: 27.42 kB / 0.4917 GB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1295, allocations: 0 / 0.4917 GB, free: 12.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.1587, allocations: 4.104 MB / 0.4957 GB, free: 8.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/13.61, allocations: 27.91 kB / 0.4957 GB, free: 8.578 MB / 366.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.415203945012763] Failed to read output from testmodel.py, exit status != 0: 13.786192139959894 14.003399997 13.903811544 Calling exit ...