Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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.001276/0.001276, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.001425/0.001425, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.417/1.417, allocations: 230.6 MB / 256 MB, free: 8.031 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.003045/0.003045, allocations: 0.5861 MB / 313 MB, free: 2.539 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.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 435.2 MB, free: 17.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1058, allocations: 53.52 MB / 488.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001704/0.1075, allocations: 0.5628 MB / 489.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002303/0.1077, allocations: 51.81 kB / 489.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.1078, allocations: 3.938 kB / 489.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.1078, allocations: 3.938 kB / 489.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.1079, allocations: 15.91 kB / 489.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.56e-05/0.108, allocations: 11.92 kB / 489.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.268e-05/0.1081, allocations: 51.89 kB / 489.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.1081, allocations: 4 kB / 489.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.1082, allocations: 23.91 kB / 489.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.1082, allocations: 31.84 kB / 489.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1082, allocations: 7.938 kB / 489.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.1083, allocations: 4 kB / 489.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.1083, allocations: 11.98 kB / 489.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.1083, allocations: 23.8 kB / 489.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.418e-05/0.1084, allocations: 36.09 kB / 489.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1084, allocations: 4 kB / 489.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1084, allocations: 0 / 489.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1084, allocations: 0 / 489.6 MB, free: 10.64 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.0005135/0.1089, allocations: 298.2 kB / 489.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.109, allocations: 12.03 kB / 489.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.109, allocations: 38.73 kB / 489.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.109, allocations: 4.938 kB / 489.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1092, allocations: 122.4 kB / 490 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1092, allocations: 8.375 kB / 490 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1092, allocations: 8.359 kB / 490 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1094, allocations: 74.11 kB / 490.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1094, allocations: 3.938 kB / 490.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1094, allocations: 4 kB / 490.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1094, allocations: 0 / 490.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.1095, allocations: 35.98 kB / 490.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.11, allocations: 287.8 kB / 490.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.1102, allocations: 102.5 kB / 490.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.1103, allocations: 32.84 kB / 490.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.1103, allocations: 0 / 490.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1103, allocations: 38.56 kB / 490.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 8.42e-07/0.1103, allocations: 0 / 490.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003187/0.1135, allocations: 0.7737 MB / 491.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1136, allocations: 55.41 kB / 491.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1137, allocations: 113.8 kB / 491.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1137, allocations: 29.7 kB / 491.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.1138, allocations: 92.14 kB / 491.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.1138, allocations: 59.47 kB / 491.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.1139, allocations: 29.72 kB / 491.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.114, allocations: 330.7 kB / 492.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.1141, allocations: 35.98 kB / 492.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1142, allocations: 61.69 kB / 492.2 MB, free: 7.809 MB / 350.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/0.1167, allocations: 486.2 kB / 492.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1167, allocations: 0 / 492.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001475/0.1182, allocations: 322 kB / 493 MB, free: 7.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1182, allocations: 12.03 kB / 493 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1182, allocations: 0 / 493 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/0.12, allocations: 256.6 kB / 493.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.912e-05/0.1201, allocations: 23.98 kB / 493.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/0.1234, allocations: 1.839 MB / 495.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.1235, allocations: 8 kB / 495.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1235, allocations: 8.062 kB / 495.1 MB, free: 4.746 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.E1 = 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 (10): * Single equations (assignments): 9 * 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 {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.1237, allocations: 125.8 kB / 495.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.1238, allocations: 15.89 kB / 495.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.1238, allocations: 16.44 kB / 495.3 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1238, allocations: 4 kB / 495.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1238, allocations: 0 / 495.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1238, allocations: 0 / 495.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.124, allocations: 180.6 kB / 495.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.124, allocations: 0 / 495.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.1241, allocations: 8 kB / 495.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.1259, allocations: 276.5 kB / 495.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1259, allocations: 0 / 495.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/0.1282, allocations: 1.844 MB / 497.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1282, allocations: 0 / 497.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.1293, allocations: 403 kB / 497.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.1293, allocations: 7.953 kB / 498 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1293, allocations: 3.938 kB / 498 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1294, allocations: 12.03 kB / 498 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.1295, allocations: 7.984 kB / 498 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1295, allocations: 11.98 kB / 498 MB, free: 1.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.523e-05/0.1295, allocations: 83.28 kB / 498.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1295, allocations: 0 / 498.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003355/0.1299, allocations: 36 kB / 498.1 MB, free: 1.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,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.001363/0.1312, allocations: 0.9306 MB / 499 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007927/0.132, allocations: 322.4 kB / 499.4 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.132, allocations: 8.062 kB / 499.4 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.1324, allocations: 222.8 kB / 499.6 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1326, allocations: 5.75 kB / 499.6 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.1369, allocations: 2.034 MB / 0.4899 GB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1372, allocations: 0.7046 MB / 0.4905 GB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.824e-05/0.1373, allocations: 4.5 kB / 0.4906 GB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.1373, allocations: 23.44 kB / 0.4906 GB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1373, allocations: 4 kB / 0.4906 GB, free: 13.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5922/0.7295, allocations: 3.915 MB / 0.4944 GB, free: 9.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.74, allocations: 10.64 kB / 0.4944 GB, free: 9.406 MB / 366.1 MB " [Timeout remaining time 646] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.89334016200155] Failed to read output from testmodel.py, exit status != 0: 13.848991906968877 14.056564987 13.945305233 Calling exit ...