Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 185.9 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003069/0.003069, allocations: 0.5793 MB / 306.8 MB, free: 8.066 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 79.81 kB / 427.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.0878, allocations: 52.33 MB / 479.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001977/0.08977, allocations: 0.6009 MB / 480.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002455/0.09002, allocations: 55.8 kB / 480.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.09006, allocations: 0 / 480.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.09008, allocations: 3.938 kB / 480.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.804e-05/0.09017, allocations: 7.938 kB / 480.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.09027, allocations: 11.97 kB / 480.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.87e-05/0.09037, allocations: 43.84 kB / 480.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/0.09042, allocations: 4 kB / 480.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.579e-05/0.09047, allocations: 23.92 kB / 480.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.894e-05/0.09055, allocations: 35.81 kB / 480.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.09057, allocations: 8 kB / 480.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.145e-05/0.09059, allocations: 4 kB / 480.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.09061, allocations: 8 kB / 480.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.09065, allocations: 19.86 kB / 480.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.098e-05/0.09074, allocations: 43.38 kB / 480.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.09074, allocations: 0 / 480.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09074, allocations: 0 / 480.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.09075, allocations: 3.938 kB / 480.4 MB, free: 2.211 MB / 334.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.0005517/0.0913, allocations: 300.8 kB / 480.7 MB, free: 1.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.09134, allocations: 8.031 kB / 480.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.09137, allocations: 8.891 kB / 480.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.09152, allocations: 118.4 kB / 480.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.09153, allocations: 8.312 kB / 480.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.09156, allocations: 8.375 kB / 480.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.09171, allocations: 70.22 kB / 480.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.09172, allocations: 192 / 480.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.09173, allocations: 7.938 kB / 480.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.09174, allocations: 4 kB / 480.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.09184, allocations: 39.92 kB / 480.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.09238, allocations: 275.9 kB / 481.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.09269, allocations: 122.5 kB / 481.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.09277, allocations: 44.84 kB / 481.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.09279, allocations: 0 / 481.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.09281, allocations: 30.56 kB / 481.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 8.52e-07/0.09281, allocations: 0 / 481.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.003732/0.09654, allocations: 0.8488 MB / 482.3 MB, free: 180 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.09659, allocations: 55.39 kB / 482.3 MB, free: 112 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.09671, allocations: 110.1 kB / 482.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.09674, allocations: 29.7 kB / 482.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.0968, allocations: 92.42 kB / 482.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.09686, allocations: 67.42 kB / 482.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.09692, allocations: 41.64 kB / 482.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.09708, allocations: 322.8 kB / 483 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.09716, allocations: 39.98 kB / 483 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.92e-05/0.09726, allocations: 63.19 kB / 483.1 MB, free: 15.32 MB / 350.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/0.1002, allocations: 498.8 kB / 483.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1002, allocations: 0 / 483.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00102/0.1012, allocations: 281.4 kB / 483.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1012, allocations: 4 kB / 483.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1012, allocations: 4 kB / 483.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009547/0.1022, allocations: 156.7 kB / 484 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/0.1022, allocations: 23.94 kB / 484 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.1052, allocations: 1.884 MB / 485.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.484e-05/0.1053, allocations: 4 kB / 485.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1053, allocations: 8 kB / 485.9 MB, free: 12.34 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.0001328/0.1054, allocations: 129.7 kB / 486 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.1055, allocations: 11.89 kB / 486 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.1055, allocations: 16.78 kB / 486.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1055, allocations: 8.031 kB / 486.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1055, allocations: 0 / 486.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1056, allocations: 0 / 486.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.107, allocations: 0.5456 MB / 486.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.107, allocations: 0 / 486.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.107, allocations: 12 kB / 486.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/0.1091, allocations: 280.5 kB / 486.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.1092, allocations: 11.98 kB / 486.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/0.112, allocations: 1.879 MB / 488.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.112, allocations: 64 / 488.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.1132, allocations: 439.2 kB / 489.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.1132, allocations: 7.953 kB / 489.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1132, allocations: 0 / 489.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.1133, allocations: 4 kB / 489.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1134, allocations: 19.95 kB / 489.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1134, allocations: 11.98 kB / 489.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.212e-05/0.1135, allocations: 83.28 kB / 489.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1135, allocations: 0 / 489.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.1138, allocations: 36 kB / 489.4 MB, free: 8.672 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.0001006/0.1139, allocations: 95.25 kB / 489.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008613/0.1148, allocations: 314.6 kB / 489.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1148, allocations: 0 / 489.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006505/0.1155, allocations: 254.5 kB / 490 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.1157, allocations: 11.98 kB / 490 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.1162, allocations: 256.3 kB / 490.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1165, allocations: 0.7085 MB / 491 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.192e-05/0.1165, allocations: 8.969 kB / 491 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.1165, allocations: 11.44 kB / 491 MB, free: 6.938 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1165, allocations: 0 / 491 MB, free: 6.938 MB / 350.1 MB Notification: Performance of Templates: time 0.005154/0.1217, allocations: 1.893 MB / 492.9 MB, free: 5.094 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.350765222683549] Failed to read output from testmodel.py, exit status != 0: 0.12872162368148565 0.144193407 0.050384503000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f29336c17b0>