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.001317/0.001317, allocations: 110.4 kB / 18.94 MB, free: 2.949 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: 217.4 kB / 22.26 MB, free: 5.125 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.977 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.003125/0.003125, allocations: 0.5735 MB / 313 MB, free: 2.508 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 64.09 kB / 435.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1368, allocations: 53.53 MB / 488.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.002661/0.1395, allocations: 0.5746 MB / 489.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000364/0.1398, allocations: 51.8 kB / 489.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.1399, allocations: 3.938 kB / 489.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.1399, allocations: 3.938 kB / 489.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1401, allocations: 15.86 kB / 489.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.1402, allocations: 15.97 kB / 489.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1403, allocations: 39.91 kB / 489.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.1404, allocations: 4 kB / 489.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.03e-05/0.1405, allocations: 27.92 kB / 489.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1406, allocations: 31.83 kB / 489.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.1406, allocations: 4 kB / 489.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.797e-05/0.1406, allocations: 4 kB / 489.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.1407, allocations: 15.97 kB / 489.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.1407, allocations: 19.81 kB / 489.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.1409, allocations: 32.11 kB / 489.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1409, allocations: 0 / 489.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1409, allocations: 3.938 kB / 489.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.1409, allocations: 0 / 489.6 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.0007458/0.1416, allocations: 302.2 kB / 489.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.206e-05/0.1417, allocations: 8.031 kB / 489.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.527e-05/0.1418, allocations: 38.75 kB / 489.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.1418, allocations: 4.938 kB / 489.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.142, allocations: 118.4 kB / 490 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.142, allocations: 4.375 kB / 490 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.142, allocations: 16.31 kB / 490 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1422, allocations: 70.23 kB / 490.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1422, allocations: 7.875 kB / 490.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1422, allocations: 0 / 490.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1422, allocations: 0 / 490.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.19e-05/0.1423, allocations: 39.97 kB / 490.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.143, allocations: 283.8 kB / 490.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.1433, allocations: 122.6 kB / 490.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.1434, allocations: 36.84 kB / 490.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1434, allocations: 3.984 kB / 490.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1434, allocations: 34.56 kB / 490.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.1434, allocations: 0 / 490.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00365/0.1471, allocations: 0.8465 MB / 491.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1472, allocations: 59.31 kB / 491.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1473, allocations: 113.8 kB / 491.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.1473, allocations: 29.7 kB / 491.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.1474, allocations: 84.47 kB / 491.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.1474, allocations: 67.42 kB / 491.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.1475, allocations: 37.66 kB / 491.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1477, allocations: 322.8 kB / 492.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/0.1478, allocations: 43.97 kB / 492.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1479, allocations: 66.95 kB / 492.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/0.1506, allocations: 0.4904 MB / 492.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1506, allocations: 0 / 492.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009805/0.1516, allocations: 274.1 kB / 493 MB, free: 6.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.1516, allocations: 15.92 kB / 493.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1516, allocations: 0 / 493.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009275/0.1526, allocations: 156.7 kB / 493.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.1526, allocations: 19.94 kB / 493.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.1556, allocations: 1.879 MB / 495.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.1557, allocations: 0 / 495.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1557, allocations: 8 kB / 495.1 MB, free: 4.703 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.0002427/0.156, allocations: 129.8 kB / 495.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.156, allocations: 7.953 kB / 495.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.1561, allocations: 16.78 kB / 495.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1561, allocations: 4 kB / 495.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1561, allocations: 192 / 495.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1561, allocations: 0 / 495.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.1575, allocations: 0.5456 MB / 495.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1575, allocations: 0 / 495.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.1575, allocations: 16.03 kB / 495.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/0.1595, allocations: 288.4 kB / 496.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.1595, allocations: 4 kB / 496.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/0.1625, allocations: 1.879 MB / 498 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1625, allocations: 0 / 498 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.1637, allocations: 432.7 kB / 498.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.1637, allocations: 15.94 kB / 498.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1638, allocations: 3.984 kB / 498.4 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1639, allocations: 8 kB / 498.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.1639, allocations: 19.91 kB / 498.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.1639, allocations: 4 kB / 498.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.883e-05/0.164, allocations: 91.56 kB / 498.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.164, allocations: 0 / 498.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.1644, allocations: 36 kB / 498.6 MB, free: 1.02 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.001565/0.1659, allocations: 0.9457 MB / 499.5 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009534/0.1669, allocations: 306.6 kB / 499.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1669, allocations: 0 / 499.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000607/0.1675, allocations: 258.5 kB / 0.4884 GB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.1678, allocations: 12.48 kB / 0.4884 GB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.1715, allocations: 1.963 MB / 0.4903 GB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.172, allocations: 0.7046 MB / 0.491 GB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.591e-05/0.172, allocations: 4.984 kB / 0.491 GB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.1721, allocations: 27.42 kB / 0.491 GB, free: 12.63 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1721, allocations: 0 / 0.491 GB, free: 12.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04121/0.2133, allocations: 3.291 MB / 0.4942 GB, free: 9.527 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.09, allocations: 8 kB / 0.4942 GB, free: 9.52 MB / 366.1 MB " [Timeout remaining time 648] (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: 15.98354783304967] Failed to read output from testmodel.py, exit status != 0: 12.19440803094767 12.417162082 12.273500034 Calling exit ...