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.001827/0.001827, allocations: 100.6 kB / 19.73 MB, free: 2.23 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.002347/0.002347, allocations: 220.5 kB / 23.04 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.00328/0.00328, allocations: 0.5745 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.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.001883/0.001883, allocations: 67.89 kB / 436 MB, free: 17.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09677, allocations: 53.53 MB / 489.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.001898/0.09867, allocations: 0.5706 MB / 490.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000251/0.09892, allocations: 55.8 kB / 490.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.09896, allocations: 4 kB / 490.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.09898, allocations: 3.938 kB / 490.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.09905, allocations: 3.938 kB / 490.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.09916, allocations: 19.89 kB / 490.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.256e-05/0.09925, allocations: 47.89 kB / 490.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.0993, allocations: 4 kB / 490.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.09933, allocations: 23.92 kB / 490.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.09941, allocations: 35.83 kB / 490.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.09943, allocations: 4 kB / 490.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.09945, allocations: 4 kB / 490.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.09947, allocations: 7.984 kB / 490.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.09951, allocations: 31.8 kB / 490.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.981e-05/0.09961, allocations: 32.05 kB / 490.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.09962, allocations: 0 / 490.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.09962, allocations: 3.984 kB / 490.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.09963, allocations: 0 / 490.3 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.0005482/0.1002, allocations: 302.2 kB / 490.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1002, allocations: 12.02 kB / 490.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.804e-05/0.1002, allocations: 4.188 kB / 490.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.1003, allocations: 34.75 kB / 490.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.1003, allocations: 4.938 kB / 490.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.1004, allocations: 114.4 kB / 490.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1004, allocations: 4.375 kB / 490.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.1005, allocations: 16.31 kB / 490.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.1006, allocations: 79.78 kB / 490.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1006, allocations: 0 / 490.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1007, allocations: 11.94 kB / 490.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1007, allocations: 0 / 490.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.493e-05/0.1008, allocations: 31.98 kB / 491 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.1013, allocations: 287.8 kB / 491.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1016, allocations: 110.7 kB / 491.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.1016, allocations: 40.84 kB / 491.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.1016, allocations: 0 / 491.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1017, allocations: 30.56 kB / 491.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.1017, allocations: 0 / 491.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002696/0.1044, allocations: 0.7084 MB / 492.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.1044, allocations: 59.31 kB / 492.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1045, allocations: 113.8 kB / 492.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.1045, allocations: 29.7 kB / 492.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.1046, allocations: 92.45 kB / 492.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.1047, allocations: 67.42 kB / 492.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.594e-05/0.1047, allocations: 37.7 kB / 492.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1049, allocations: 314.8 kB / 492.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.105, allocations: 51.91 kB / 492.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1051, allocations: 71 kB / 492.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002705/0.1078, allocations: 498.6 kB / 493.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1078, allocations: 0 / 493.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001652/0.1095, allocations: 370 kB / 493.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1095, allocations: 7.938 kB / 493.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1095, allocations: 8.031 kB / 493.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001835/0.1113, allocations: 280.5 kB / 494.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.1114, allocations: 12 kB / 494.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/0.1156, allocations: 2.275 MB / 496.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.12e-05/0.1156, allocations: 7.938 kB / 496.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1156, allocations: 8 kB / 496.4 MB, free: 4.238 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.0001934/0.1158, allocations: 124.6 kB / 496.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.1159, allocations: 7.953 kB / 496.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.1159, allocations: 20.78 kB / 496.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1159, allocations: 0 / 496.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.1159, allocations: 4 kB / 496.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1159, allocations: 3.938 kB / 496.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.1173, allocations: 0.5417 MB / 497.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.1173, allocations: 4 kB / 497.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.1174, allocations: 11.98 kB / 497.1 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/0.1194, allocations: 284.5 kB / 497.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1194, allocations: 8 kB / 497.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.1221, allocations: 1.875 MB / 499.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1221, allocations: 0 / 499.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.1232, allocations: 427.8 kB / 499.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.1233, allocations: 15.98 kB / 499.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1233, allocations: 4 kB / 499.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1234, allocations: 8 kB / 499.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1234, allocations: 15.91 kB / 499.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1235, allocations: 4 kB / 499.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.058e-05/0.1235, allocations: 95.56 kB / 499.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1235, allocations: 0 / 499.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.1239, allocations: 43.94 kB / 499.9 MB, free: 0.5625 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.001436/0.1253, allocations: 0.9483 MB / 0.4891 GB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006853/0.126, allocations: 310.3 kB / 0.4894 GB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.126, allocations: 3.938 kB / 0.4894 GB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.1266, allocations: 251 kB / 0.4896 GB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.1268, allocations: 11.94 kB / 0.4896 GB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.1314, allocations: 2.143 MB / 0.4917 GB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.1318, allocations: 0.7047 MB / 0.4924 GB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.628e-05/0.1318, allocations: 4.984 kB / 0.4924 GB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.1318, allocations: 27.42 kB / 0.4924 GB, free: 11.99 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1318, allocations: 0 / 0.4924 GB, free: 11.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.1597, allocations: 4.183 MB / 0.4965 GB, free: 8.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.35, allocations: 16.22 kB / 0.4965 GB, free: 8.004 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.1185450089979] Failed to read output from testmodel.py, exit status != 0: 13.529547878017183 13.717675703 13.615107483 Calling exit ...