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.00129/0.00129, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001536/0.001536, allocations: 219.7 kB / 23.01 MB, free: 5.082 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.347/1.347, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.003021/0.003021, allocations: 0.5789 MB / 313.8 MB, free: 2.5 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.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.00184/0.00184, allocations: 71.89 kB / 436.5 MB, free: 16.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08464/0.08648, allocations: 53.51 MB / 490 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.00172/0.08819, allocations: 0.6044 MB / 490.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001964/0.08839, allocations: 51.8 kB / 490.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.08842, allocations: 0 / 490.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.08844, allocations: 3.938 kB / 490.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.08852, allocations: 3.938 kB / 490.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.043e-05/0.08861, allocations: 15.97 kB / 490.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.416e-05/0.08868, allocations: 43.84 kB / 490.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.08873, allocations: 4 kB / 490.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.08878, allocations: 19.92 kB / 490.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.08885, allocations: 39.83 kB / 490.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.08886, allocations: 4 kB / 490.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.08888, allocations: 4 kB / 490.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.08889, allocations: 7.984 kB / 490.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.08893, allocations: 27.8 kB / 490.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.817e-05/0.08901, allocations: 35.81 kB / 490.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.08902, allocations: 0 / 490.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.08902, allocations: 0 / 490.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.08902, allocations: 0 / 490.8 MB, free: 10.08 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.0005006/0.08952, allocations: 302.2 kB / 491.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.08956, allocations: 8.031 kB / 491.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.08959, allocations: 4.938 kB / 491.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.08974, allocations: 126.4 kB / 491.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.08975, allocations: 4.375 kB / 491.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.08978, allocations: 8.375 kB / 491.3 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.08991, allocations: 66.23 kB / 491.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.08991, allocations: 192 / 491.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.08993, allocations: 15.86 kB / 491.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.08994, allocations: 4 kB / 491.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.09002, allocations: 35.98 kB / 491.4 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.09049, allocations: 283.8 kB / 491.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.09078, allocations: 118.7 kB / 491.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.09085, allocations: 40.78 kB / 491.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.09087, allocations: 4 kB / 491.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.09089, allocations: 30.56 kB / 491.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.09089, allocations: 0 / 491.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003377/0.09427, allocations: 0.8456 MB / 492.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.09431, allocations: 55.41 kB / 492.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/0.09441, allocations: 113.8 kB / 492.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.09443, allocations: 33.7 kB / 492.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.09449, allocations: 88.45 kB / 493 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.09454, allocations: 63.44 kB / 493 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.0946, allocations: 41.64 kB / 493.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.09474, allocations: 318.8 kB / 493.4 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.55e-05/0.09481, allocations: 39.98 kB / 493.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.114e-05/0.09491, allocations: 67 kB / 493.5 MB, free: 7.184 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.002658/0.09756, allocations: 0.5021 MB / 494 MB, free: 6.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.09756, allocations: 0 / 494 MB, free: 6.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009295/0.09849, allocations: 278.1 kB / 494.3 MB, free: 6.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.09851, allocations: 4 kB / 494.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.09851, allocations: 0 / 494.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008938/0.09941, allocations: 164.7 kB / 494.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/0.09948, allocations: 19.98 kB / 494.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.1022, allocations: 1.879 MB / 496.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.999e-05/0.1023, allocations: 8.062 kB / 496.3 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1023, allocations: 8 kB / 496.4 MB, free: 4.199 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.0001179/0.1024, allocations: 122 kB / 496.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.1024, allocations: 7.953 kB / 496.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.1025, allocations: 24.72 kB / 496.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1025, allocations: 0 / 496.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1025, allocations: 4 kB / 496.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1025, allocations: 7.969 kB / 496.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.1038, allocations: 0.534 MB / 497.1 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1038, allocations: 0 / 497.1 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.1039, allocations: 11.98 kB / 497.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001954/0.1058, allocations: 288.5 kB / 497.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.1059, allocations: 4 kB / 497.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002647/0.1085, allocations: 1.875 MB / 499.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1085, allocations: 0 / 499.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1096, allocations: 431.6 kB / 499.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.1096, allocations: 7.891 kB / 499.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.1096, allocations: 4 kB / 499.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1097, allocations: 4 kB / 499.7 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1098, allocations: 19.89 kB / 499.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.1098, allocations: 12 kB / 499.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.777e-05/0.1098, allocations: 91.56 kB / 499.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1098, allocations: 0 / 499.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.1102, allocations: 36.19 kB / 499.8 MB, free: 0.5352 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 9.85e-05/0.1103, allocations: 95.31 kB / 499.9 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007734/0.111, allocations: 313.2 kB / 0.4885 GB, free: 116 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.111, allocations: 0 / 0.4885 GB, free: 116 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005706/0.1116, allocations: 250.5 kB / 0.4887 GB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1118, allocations: 20.02 kB / 0.4888 GB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.1123, allocations: 286 kB / 0.489 GB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.1126, allocations: 0.7085 MB / 0.4897 GB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.1127, allocations: 11.44 kB / 0.4897 GB, free: 14.77 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1127, allocations: 0 / 0.4897 GB, free: 14.77 MB / 366.1 MB Notification: Performance of Templates: time 0.003466/0.1161, allocations: 1.617 MB / 0.4913 GB, free: 13.16 MB / 366.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 sys.exit(0), Time elapsed: 6.611609543906525] Failed to read output from testmodel.py, exit status != 0: 0.12325329007580876 0.27905042900000004 0.045780798000000004 Calling exit ...