Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.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.001618/0.001618, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.00146/0.00146, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.003219/0.003219, allocations: 0.5841 MB / 313.8 MB, free: 2.332 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.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 55.91 kB / 435.9 MB, free: 16.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1263, allocations: 53.53 MB / 489.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.002563/0.1289, allocations: 0.5628 MB / 490 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002641/0.1291, allocations: 47.81 kB / 490 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.1292, allocations: 0 / 490 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.1292, allocations: 3.938 kB / 490 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.314e-05/0.1293, allocations: 11.92 kB / 490 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.1294, allocations: 11.98 kB / 490.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1295, allocations: 47.83 kB / 490.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.1296, allocations: 4 kB / 490.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.581e-05/0.1296, allocations: 27.91 kB / 490.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.1297, allocations: 27.84 kB / 490.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.1297, allocations: 4 kB / 490.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.671e-05/0.1297, allocations: 4 kB / 490.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.1298, allocations: 7.984 kB / 490.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.1298, allocations: 23.86 kB / 490.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.664e-05/0.1299, allocations: 36.11 kB / 490.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1299, allocations: 0 / 490.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1299, allocations: 0 / 490.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1299, allocations: 0 / 490.2 MB, free: 10.47 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.0006233/0.1305, allocations: 298.2 kB / 490.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1306, allocations: 11.97 kB / 490.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.082e-05/0.1306, allocations: 4.125 kB / 490.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.1307, allocations: 42.73 kB / 490.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1307, allocations: 8.938 kB / 490.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1308, allocations: 118.4 kB / 490.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.1309, allocations: 4.375 kB / 490.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.1309, allocations: 8.375 kB / 490.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1311, allocations: 72.36 kB / 490.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1311, allocations: 0 / 490.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1311, allocations: 3.984 kB / 490.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1311, allocations: 0 / 490.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.1312, allocations: 43.86 kB / 490.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.132, allocations: 279.8 kB / 491.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.1325, allocations: 106.5 kB / 491.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.1326, allocations: 32.84 kB / 491.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.1326, allocations: 4 kB / 491.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.1326, allocations: 34.5 kB / 491.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 4.017e-06/0.1326, allocations: 3.984 kB / 491.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.004419/0.1371, allocations: 0.7713 MB / 492.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.1371, allocations: 51.41 kB / 492.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1372, allocations: 113.8 kB / 492.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.1373, allocations: 29.7 kB / 492.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.1374, allocations: 88.14 kB / 492.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.1374, allocations: 59.47 kB / 492.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.1375, allocations: 33.7 kB / 492.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003009/0.1378, allocations: 326.7 kB / 492.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1379, allocations: 39.98 kB / 492.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.138, allocations: 57.7 kB / 492.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.1383, allocations: 105.7 kB / 492.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1383, allocations: 0 / 492.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001403/0.1397, allocations: 262.1 kB / 493.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1397, allocations: 11 kB / 493.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1397, allocations: 0 / 493.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.141, allocations: 160.6 kB / 493.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1411, allocations: 12 kB / 493.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003777/0.1449, allocations: 1.832 MB / 495.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.145, allocations: 0 / 495.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.145, allocations: 12 kB / 495.2 MB, free: 5.125 MB / 350.1 MB 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 (12): * Single equations (assignments): 11 * 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 {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.1451, allocations: 121.8 kB / 495.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.1452, allocations: 7.953 kB / 495.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.1452, allocations: 20.44 kB / 495.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1452, allocations: 0 / 495.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1452, allocations: 0 / 495.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1452, allocations: 0 / 495.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.1455, allocations: 164.7 kB / 495.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1455, allocations: 0 / 495.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.1455, allocations: 12 kB / 495.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/0.1474, allocations: 284.4 kB / 495.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1474, allocations: 0 / 495.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002854/0.1503, allocations: 1.832 MB / 497.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.1503, allocations: 4.031 kB / 497.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.1516, allocations: 399 kB / 498.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.1517, allocations: 15.89 kB / 498.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1517, allocations: 4 kB / 498.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1518, allocations: 8 kB / 498.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.1519, allocations: 16.02 kB / 498.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.1519, allocations: 3.984 kB / 498.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.409e-05/0.152, allocations: 95.2 kB / 498.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.152, allocations: 0 / 498.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004026/0.1524, allocations: 28 kB / 498.2 MB, free: 1.953 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001489/0.1538, allocations: 0.9393 MB / 499.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006231/0.1545, allocations: 258.6 kB / 499.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1545, allocations: 0 / 499.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.1548, allocations: 222.5 kB / 499.6 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.1551, allocations: 8 kB / 499.6 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.1587, allocations: 1.893 MB / 0.4898 GB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.1588, allocations: 95.69 kB / 0.4899 GB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.092e-05/0.1588, allocations: 0.5 kB / 0.4899 GB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.1589, allocations: 27.42 kB / 0.4899 GB, free: 14.35 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1589, allocations: 0 / 0.4899 GB, free: 14.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.1872, allocations: 3.364 MB / 0.4932 GB, free: 11.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/11.95, allocations: 8.062 kB / 0.4932 GB, free: 11.19 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.740646105026826] Failed to read output from testmodel.py, exit status != 0: 12.114953628974035 12.301161145 12.167692326 Calling exit ...