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.001414/0.001414, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001489/0.001489, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.587/1.587, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002753/0.002753, allocations: 0.5753 MB / 310.1 MB, free: 3.367 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 62.83 kB / 430.7 MB, free: 41.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.106, allocations: 53.48 MB / 484.2 MB, free: 18.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.001818/0.1078, allocations: 0.5832 MB / 484.8 MB, free: 18.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002277/0.108, allocations: 56.86 kB / 484.8 MB, free: 18.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.1081, allocations: 0 / 484.8 MB, free: 18.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.1081, allocations: 3.938 kB / 484.8 MB, free: 18.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.1082, allocations: 5 kB / 484.8 MB, free: 18.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.683e-05/0.1083, allocations: 9.391 kB / 484.9 MB, free: 18.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.634e-05/0.1083, allocations: 45.86 kB / 484.9 MB, free: 18.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.1084, allocations: 3.531 kB / 484.9 MB, free: 18.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.344e-05/0.1084, allocations: 21.11 kB / 484.9 MB, free: 18.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.1085, allocations: 35.52 kB / 485 MB, free: 18.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.1085, allocations: 7.344 kB / 485 MB, free: 18.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.1085, allocations: 3.844 kB / 485 MB, free: 18.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.1086, allocations: 13.2 kB / 485 MB, free: 18.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.1086, allocations: 21.86 kB / 485 MB, free: 18.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.11e-05/0.1087, allocations: 35.64 kB / 485 MB, free: 18.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1087, allocations: 0 / 485 MB, free: 18.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1087, allocations: 0 / 485 MB, free: 18.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1087, allocations: 0 / 485 MB, free: 18.4 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.0004731/0.1092, allocations: 377.5 kB / 485.4 MB, free: 18.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1092, allocations: 10.19 kB / 485.4 MB, free: 18.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.613e-05/0.1092, allocations: 6.188 kB / 485.4 MB, free: 18.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.431e-05/0.1092, allocations: 43.72 kB / 485.5 MB, free: 17.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.1093, allocations: 8.453 kB / 485.5 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1094, allocations: 172 kB / 485.6 MB, free: 17.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.1094, allocations: 8.031 kB / 485.6 MB, free: 17.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1094, allocations: 8.375 kB / 485.7 MB, free: 17.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.1096, allocations: 73.77 kB / 485.7 MB, free: 17.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1096, allocations: 0 / 485.7 MB, free: 17.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1096, allocations: 1.125 kB / 485.7 MB, free: 17.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1096, allocations: 1.156 kB / 485.7 MB, free: 17.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.1097, allocations: 38.39 kB / 485.8 MB, free: 17.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.1101, allocations: 315.4 kB / 486.1 MB, free: 17.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.1104, allocations: 119.2 kB / 486.2 MB, free: 17.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.1104, allocations: 37.75 kB / 486.2 MB, free: 17.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.1105, allocations: 1.062 kB / 486.2 MB, free: 17.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.1105, allocations: 32.5 kB / 486.3 MB, free: 17.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.1105, allocations: 0 / 486.3 MB, free: 17.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003436/0.1139, allocations: 0.925 MB / 487.2 MB, free: 16.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.1139, allocations: 61.47 kB / 487.2 MB, free: 16.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/0.114, allocations: 111.5 kB / 487.4 MB, free: 16.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.114, allocations: 30.77 kB / 487.4 MB, free: 16.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.1141, allocations: 81.56 kB / 487.5 MB, free: 16.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.1141, allocations: 66.77 kB / 487.5 MB, free: 16.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.1141, allocations: 33.84 kB / 487.6 MB, free: 16.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.1142, allocations: 320.8 kB / 487.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.1143, allocations: 43.55 kB / 487.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/0.1143, allocations: 70.62 kB / 488 MB, free: 15.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/0.117, allocations: 0.5671 MB / 488.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.117, allocations: 5.062 kB / 488.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009232/0.1179, allocations: 273.2 kB / 488.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.118, allocations: 5.188 kB / 488.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.118, allocations: 3.984 kB / 488.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.119, allocations: 155.1 kB / 489 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.1191, allocations: 23.66 kB / 489 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.1216, allocations: 1.98 MB / 491 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.1216, allocations: 9.469 kB / 491 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.1217, allocations: 5.406 kB / 491 MB, free: 13.48 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.0002177/0.1219, allocations: 129.7 kB / 491.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.1219, allocations: 10.56 kB / 491.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.122, allocations: 18 kB / 491.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.122, allocations: 2.969 kB / 491.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.122, allocations: 1.375 kB / 491.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.122, allocations: 0 / 491.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.1233, allocations: 0.5652 MB / 491.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1233, allocations: 0 / 491.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.1233, allocations: 18.95 kB / 491.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/0.1252, allocations: 281.9 kB / 492 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1253, allocations: 2.594 kB / 492 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.1276, allocations: 1.994 MB / 494 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1276, allocations: 7.875 kB / 494 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.1286, allocations: 427.2 kB / 494.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.1287, allocations: 83.69 kB / 494.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1287, allocations: 6.844 kB / 494.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.1288, allocations: 0.8125 kB / 494.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.1289, allocations: 26.42 kB / 494.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1289, allocations: 3.312 kB / 494.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.221e-05/0.1289, allocations: 89.83 kB / 494.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1289, allocations: 0 / 494.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.1293, allocations: 31.22 kB / 494.7 MB, free: 10.38 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.001216/0.1305, allocations: 0.9485 MB / 495.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008115/0.1313, allocations: 310.4 kB / 495.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1313, allocations: 0 / 495.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000547/0.1319, allocations: 258.3 kB / 496.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.1321, allocations: 11.69 kB / 496.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.135, allocations: 1.953 MB / 498.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.1352, allocations: 0.7066 MB / 498.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.59e-05/0.1352, allocations: 7.641 kB / 498.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.1353, allocations: 31.48 kB / 498.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1353, allocations: 5.312 kB / 498.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.1583, allocations: 3.197 MB / 0.4903 GB, free: 4.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.53, allocations: 10.45 kB / 0.4903 GB, free: 4.5 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.300828049017582] Failed to read output from testmodel.py, exit status != 0: 10.849165395949967 10.693475274 10.580068703 Calling exit ...