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.001406/0.001406, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002383/0.002383, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.433/1.433, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.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.002867/0.002867, allocations: 419.4 kB / 259.6 MB, free: 276 kB / 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.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.723e-06/1.723e-06, allocations: 0 / 382.3 MB, free: 4.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.37e-05, allocations: 2.281 kB / 382.3 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001433/0.001456, allocations: 0.5732 MB / 382.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000193/0.001649, allocations: 43.8 kB / 382.9 MB, free: 3.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.001683, allocations: 0 / 382.9 MB, free: 3.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.001702, allocations: 11.94 kB / 382.9 MB, free: 3.555 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.479e-05/0.001766, allocations: 7.875 kB / 382.9 MB, free: 3.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.534e-05/0.001852, allocations: 11.97 kB / 383 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.286e-05/0.001935, allocations: 51.83 kB / 383 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.001984, allocations: 7.922 kB / 383 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.923e-05/0.002044, allocations: 31.97 kB / 383 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.002109, allocations: 19.89 kB / 383.1 MB, free: 3.426 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.002133, allocations: 4 kB / 383.1 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.002145, allocations: 4 kB / 383.1 MB, free: 3.418 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.002169, allocations: 15.92 kB / 383.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.002196, allocations: 19.97 kB / 383.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.289e-05/0.002279, allocations: 35.81 kB / 383.1 MB, free: 3.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002281, allocations: 0 / 383.1 MB, free: 3.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002281, allocations: 0 / 383.1 MB, free: 3.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.002285, allocations: 0 / 383.1 MB, free: 3.348 MB / 302.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.0005277/0.002813, allocations: 306.1 kB / 383.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.002846, allocations: 8.031 kB / 383.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.002882, allocations: 4.938 kB / 383.5 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.003016, allocations: 117.8 kB / 383.6 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.00303, allocations: 4.375 kB / 383.6 MB, free: 2.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.003056, allocations: 12.38 kB / 383.6 MB, free: 2.844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.00319, allocations: 74.16 kB / 383.7 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.0032, allocations: 192 / 383.7 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.003211, allocations: 4.375 kB / 383.7 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.003215, allocations: 384 / 383.7 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.402e-05/0.003299, allocations: 39.92 kB / 383.7 MB, free: 2.723 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.003763, allocations: 252.4 kB / 383.9 MB, free: 2.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.004068, allocations: 118.7 kB / 384.1 MB, free: 2.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.004135, allocations: 32.84 kB / 384.1 MB, free: 2.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.004148, allocations: 7.984 kB / 384.1 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.004179, allocations: 34.78 kB / 384.1 MB, free: 2.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.004181, allocations: 3.938 kB / 384.1 MB, free: 2.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.003754/0.007935, allocations: 0.8447 MB / 385 MB, free: 1.348 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.007974, allocations: 55.41 kB / 385 MB, free: 1.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.008077, allocations: 109.8 kB / 385.1 MB, free: 1.164 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.008102, allocations: 33.64 kB / 385.2 MB, free: 1.125 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.008166, allocations: 84.42 kB / 385.3 MB, free: 1.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.008224, allocations: 63.44 kB / 385.3 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.008289, allocations: 41.7 kB / 385.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.008439, allocations: 326.8 kB / 385.7 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.008523, allocations: 43.98 kB / 385.7 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.008632, allocations: 69.56 kB / 385.8 MB, free: 492 kB / 302.1 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.003018/0.01165, allocations: 0.4886 MB / 386.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01165, allocations: 0 / 386.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001035/0.01269, allocations: 278 kB / 386.6 MB, free: 15.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.0127, allocations: 8 kB / 386.6 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01271, allocations: 320 / 386.6 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009868/0.01369, allocations: 156.7 kB / 386.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.01378, allocations: 23.94 kB / 386.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002927/0.01671, allocations: 1.837 MB / 388.6 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.755e-05/0.01679, allocations: 8.031 kB / 388.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01681, allocations: 4.062 kB / 388.6 MB, free: 13.57 MB / 318.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.0001194/0.01693, allocations: 133.1 kB / 388.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.01696, allocations: 7.953 kB / 388.7 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.01702, allocations: 20.72 kB / 388.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01702, allocations: 0 / 388.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01702, allocations: 4 kB / 388.8 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01703, allocations: 0 / 388.8 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.01845, allocations: 0.5102 MB / 389.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01845, allocations: 192 / 389.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-05/0.01851, allocations: 16.03 kB / 389.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/0.02068, allocations: 288.3 kB / 389.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.0207, allocations: 11.98 kB / 389.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/0.02349, allocations: 1.829 MB / 391.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02349, allocations: 0 / 391.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.02465, allocations: 427.7 kB / 391.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.02467, allocations: 23.92 kB / 391.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.02469, allocations: 4 kB / 391.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.02482, allocations: 4 kB / 391.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.02485, allocations: 11.97 kB / 391.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.02487, allocations: 4 kB / 391.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.672e-05/0.02492, allocations: 95.27 kB / 392 MB, free: 10.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02492, allocations: 0 / 392 MB, free: 10.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003634/0.02529, allocations: 36 kB / 392 MB, free: 9.988 MB / 318.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.0001013/0.02539, allocations: 91.25 kB / 392.1 MB, free: 9.891 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008287/0.02622, allocations: 298.5 kB / 392.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.02622, allocations: 0 / 392.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.02685, allocations: 258.5 kB / 392.6 MB, free: 9.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.02709, allocations: 18.7 kB / 392.6 MB, free: 9.305 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.02753, allocations: 242.6 kB / 392.9 MB, free: 9.039 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.099e-05/0.02761, allocations: 88.06 kB / 393 MB, free: 8.934 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.909e-05/0.02764, allocations: 16.86 kB / 393 MB, free: 8.918 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.02767, allocations: 12.5 kB / 393 MB, free: 8.906 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02767, allocations: 0 / 393 MB, free: 8.906 MB / 318.1 MB Notification: Performance of Templates: time 0.005193/0.03286, allocations: 1.952 MB / 394.9 MB, free: 7.012 MB / 318.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.150204956531525] Failed to read output from testmodel.py, exit status != 0: 0.04126955196261406 0.056159475 0.050827695000000006 Calling exit ...