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.001396/0.001396, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001585/0.001585, allocations: 210.2 kB / 22.24 MB, free: 5.258 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.793 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.003701/0.003701, allocations: 0.5806 MB / 313 MB, free: 2.293 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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 71.89 kB / 435.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1388, allocations: 53.52 MB / 489.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.002026/0.1409, allocations: 0.5618 MB / 489.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002988/0.1412, allocations: 47.81 kB / 489.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.1412, allocations: 0 / 489.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.1412, allocations: 3.938 kB / 489.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.1413, allocations: 11.86 kB / 489.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.1415, allocations: 15.97 kB / 489.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.1416, allocations: 47.84 kB / 489.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.1417, allocations: 11.92 kB / 489.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.1418, allocations: 27.91 kB / 489.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.837e-05/0.1419, allocations: 31.84 kB / 489.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.1419, allocations: 4 kB / 489.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.1419, allocations: 0 / 489.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.1419, allocations: 11.98 kB / 489.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.142, allocations: 27.86 kB / 489.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.1421, allocations: 27.83 kB / 490 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1421, allocations: 0 / 490 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1421, allocations: 0 / 490 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1421, allocations: 0 / 490 MB, free: 9.918 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.0006296/0.1427, allocations: 310.1 kB / 490.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1428, allocations: 8.031 kB / 490.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.1428, allocations: 4.938 kB / 490.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.143, allocations: 118.4 kB / 490.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.143, allocations: 4.375 kB / 490.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.1431, allocations: 12.31 kB / 490.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1432, allocations: 66.23 kB / 490.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1432, allocations: 192 / 490.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.1432, allocations: 7.938 kB / 490.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.1433, allocations: 4 kB / 490.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.309e-05/0.1434, allocations: 43.97 kB / 490.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.1439, allocations: 248.4 kB / 490.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.1442, allocations: 102.5 kB / 490.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.871e-05/0.1443, allocations: 40.78 kB / 490.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.1443, allocations: 0 / 490.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1443, allocations: 34.56 kB / 490.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.1443, allocations: 0 / 490.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003421/0.1477, allocations: 0.7686 MB / 491.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.1478, allocations: 55.41 kB / 491.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1479, allocations: 121.8 kB / 491.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.1479, allocations: 29.7 kB / 491.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.148, allocations: 88.08 kB / 492 MB, free: 7.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.1481, allocations: 55.55 kB / 492.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.1481, allocations: 29.7 kB / 492.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1483, allocations: 322.8 kB / 492.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.634e-05/0.1484, allocations: 47.98 kB / 492.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1485, allocations: 57.69 kB / 492.5 MB, free: 7.172 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.00257/0.1511, allocations: 491.3 kB / 493 MB, free: 6.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1511, allocations: 0 / 493 MB, free: 6.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001548/0.1527, allocations: 326 kB / 493.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.1527, allocations: 4 kB / 493.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1527, allocations: 0 / 493.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/0.1545, allocations: 268.5 kB / 493.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.1546, allocations: 16 kB / 493.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.1581, allocations: 1.808 MB / 495.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.1582, allocations: 4.344 kB / 495.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1582, allocations: 4 kB / 495.4 MB, free: 4.156 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.0002791/0.1585, allocations: 128.1 kB / 495.5 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.1585, allocations: 7.953 kB / 495.5 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.1586, allocations: 20.38 kB / 495.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1586, allocations: 4 kB / 495.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1586, allocations: 0 / 495.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1586, allocations: 0 / 495.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.1589, allocations: 145.2 kB / 495.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1589, allocations: 4.125 kB / 495.7 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.1589, allocations: 11.98 kB / 495.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/0.1607, allocations: 272.5 kB / 496 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1608, allocations: 3.984 kB / 496 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/0.1632, allocations: 1.802 MB / 497.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1633, allocations: 0 / 497.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1643, allocations: 410.7 kB / 498.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.1643, allocations: 4.031 kB / 498.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1643, allocations: 4 kB / 498.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.1645, allocations: 4 kB / 498.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1645, allocations: 11.97 kB / 498.2 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1645, allocations: 7.938 kB / 498.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.297e-05/0.1646, allocations: 91.27 kB / 498.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1646, allocations: 0 / 498.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.1649, allocations: 39.94 kB / 498.3 MB, free: 1.055 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.0001183/0.165, allocations: 98.06 kB / 498.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008459/0.1659, allocations: 322.4 kB / 498.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1659, allocations: 0 / 498.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.1662, allocations: 218.7 kB / 499 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.1665, allocations: 8 kB / 499 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.1669, allocations: 255 kB / 499.2 MB, free: 112 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.775e-05/0.167, allocations: 87.83 kB / 499.3 MB, free: 4 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.1671, allocations: 4.531 kB / 499.3 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.1671, allocations: 11.44 kB / 499.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1671, allocations: 0 / 499.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Templates: time 0.006411/0.1735, allocations: 2.533 MB / 0.4901 GB, free: 13.51 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.makefile [Timeout 660] (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.13710942491889] Failed to read output from testmodel.py, exit status != 0: 0.18204114213585854 0.425686235 0.051708095 Calling exit ...