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.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.001355/0.001355, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001581/0.001581, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.451/1.451, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.003032/0.003032, allocations: 419.9 kB / 260 MB, free: 12.66 MB / 250.7 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.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 1.833e-06/1.833e-06, allocations: 0 / 329.4 MB, free: 19.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.837e-05, allocations: 2.312 kB / 329.4 MB, free: 19.62 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.00141/0.001438, allocations: 0.5838 MB / 330 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.001705, allocations: 47.8 kB / 330 MB, free: 18.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.001751, allocations: 0 / 330 MB, free: 18.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.00177, allocations: 3.938 kB / 330 MB, free: 18.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.001883, allocations: 7.938 kB / 330 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.002002, allocations: 15.95 kB / 330.1 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.002087, allocations: 43.91 kB / 330.1 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.002139, allocations: 0 / 330.1 MB, free: 18.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.647e-05/0.002216, allocations: 39.89 kB / 330.1 MB, free: 18.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.002289, allocations: 15.91 kB / 330.2 MB, free: 18.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.00231, allocations: 7.938 kB / 330.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.002323, allocations: 4 kB / 330.2 MB, free: 18.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.002346, allocations: 15.97 kB / 330.2 MB, free: 18.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.002383, allocations: 15.92 kB / 330.2 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.932e-05/0.002472, allocations: 31.88 kB / 330.2 MB, free: 18.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.002473, allocations: 4 kB / 330.2 MB, free: 18.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.002475, allocations: 7.922 kB / 330.2 MB, free: 18.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.00248, allocations: 0 / 330.2 MB, free: 18.78 MB / 266.7 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.000507/0.002987, allocations: 294.2 kB / 330.5 MB, free: 18.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.00303, allocations: 8.031 kB / 330.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.003087, allocations: 16.89 kB / 330.6 MB, free: 18.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.003191, allocations: 113.7 kB / 330.7 MB, free: 18.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.00321, allocations: 8.375 kB / 330.7 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.003243, allocations: 8.375 kB / 330.7 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.003381, allocations: 73.05 kB / 330.8 MB, free: 18.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.003392, allocations: 4.172 kB / 330.8 MB, free: 18.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.003406, allocations: 4.375 kB / 330.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.003413, allocations: 4.375 kB / 330.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.003491, allocations: 39.91 kB / 330.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.003968, allocations: 252.4 kB / 331.1 MB, free: 17.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.004272, allocations: 118.7 kB / 331.2 MB, free: 17.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.004331, allocations: 40.84 kB / 331.2 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.004352, allocations: 4 kB / 331.2 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.00437, allocations: 30.56 kB / 331.2 MB, free: 17.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.004371, allocations: 0 / 331.2 MB, free: 17.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.003284/0.007655, allocations: 0.849 MB / 332.1 MB, free: 16.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.007681, allocations: 59.34 kB / 332.2 MB, free: 16.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.279e-05/0.007744, allocations: 109.8 kB / 332.3 MB, free: 16.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.007757, allocations: 25.7 kB / 332.3 MB, free: 16.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.007797, allocations: 96.41 kB / 332.4 MB, free: 16.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.007829, allocations: 67.42 kB / 332.4 MB, free: 16.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.007874, allocations: 37.7 kB / 332.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.532e-05/0.00792, allocations: 318.8 kB / 332.8 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.007981, allocations: 47.97 kB / 332.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.00805, allocations: 65.69 kB / 332.9 MB, free: 15.92 MB / 266.7 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/0.01067, allocations: 0.4896 MB / 333.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.01067, allocations: 0 / 333.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008752/0.01155, allocations: 290.1 kB / 333.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01157, allocations: 4 kB / 333.7 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.01157, allocations: 4 kB / 333.7 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.01269, allocations: 196.6 kB / 333.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.059e-05/0.01276, allocations: 16 kB / 333.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.01497, allocations: 1.853 MB / 335.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.01505, allocations: 4 kB / 335.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.01506, allocations: 8 kB / 335.8 MB, free: 12.95 MB / 266.7 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 8.609e-05/0.01514, allocations: 121.8 kB / 335.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.01518, allocations: 11.95 kB / 335.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.01523, allocations: 24.72 kB / 335.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01523, allocations: 0 / 335.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.01523, allocations: 4 kB / 335.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.01524, allocations: 4.031 kB / 335.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.01638, allocations: 0.5034 MB / 336.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.01639, allocations: 3.938 kB / 336.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.01644, allocations: 15.98 kB / 336.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002045/0.01848, allocations: 328.4 kB / 336.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.0185, allocations: 4 kB / 336.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.02056, allocations: 1.845 MB / 338.6 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.02056, allocations: 4 kB / 338.6 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.02154, allocations: 430.8 kB / 339 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.02155, allocations: 19.92 kB / 339.1 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.02157, allocations: 0 / 339.1 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.02168, allocations: 8 kB / 339.1 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.02172, allocations: 15.97 kB / 339.1 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.02173, allocations: 4 kB / 339.1 MB, free: 9.449 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.153e-05/0.02176, allocations: 87.27 kB / 339.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02176, allocations: 0 / 339.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.02213, allocations: 36 kB / 339.2 MB, free: 9.328 MB / 266.7 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.0001028/0.02223, allocations: 91.25 kB / 339.3 MB, free: 9.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007156/0.02295, allocations: 306.2 kB / 339.6 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02295, allocations: 0 / 339.6 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004821/0.02343, allocations: 261.1 kB / 339.8 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.02367, allocations: 7.984 kB / 339.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.02409, allocations: 248.2 kB / 340.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.071e-05/0.02415, allocations: 93.69 kB / 340.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.166e-05/0.02418, allocations: 4.984 kB / 340.2 MB, free: 8.262 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.02423, allocations: 12.5 kB / 340.2 MB, free: 8.25 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02423, allocations: 0 / 340.2 MB, free: 8.25 MB / 266.7 MB Notification: Performance of Templates: time 0.00504/0.02927, allocations: 1.995 MB / 342.2 MB, free: 6.316 MB / 266.7 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.351761021069251]