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.000815/0.000815, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007987/0.0007987, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.8852/0.8852, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.001971/0.001971, allocations: 408.3 kB / 260.4 MB, free: 12.84 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.703e-06/1.703e-06, allocations: 0 / 383.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.302e-05, allocations: 2.281 kB / 383.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent): time 0.001329/0.001352, allocations: 0.5836 MB / 383.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001859/0.001538, allocations: 47.8 kB / 383.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.00157, allocations: 4 kB / 383.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.001588, allocations: 3.938 kB / 383.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.001664, allocations: 7.875 kB / 383.7 MB, free: 13.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.234e-05/0.001756, allocations: 15.95 kB / 383.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.291e-05/0.001829, allocations: 43.91 kB / 383.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.001876, allocations: 4 kB / 383.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.908e-05/0.001936, allocations: 35.89 kB / 383.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.002002, allocations: 23.89 kB / 383.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.002025, allocations: 4 kB / 383.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.002036, allocations: 7.938 kB / 383.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.002055, allocations: 15.98 kB / 383.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.00208, allocations: 15.92 kB / 383.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.909e-05/0.002159, allocations: 39.8 kB / 383.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002161, allocations: 0 / 383.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.002162, allocations: 0 / 383.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.002167, allocations: 0 / 383.9 MB, free: 13.57 MB / 314.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.000398/0.002565, allocations: 302.1 kB / 384.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.002609, allocations: 12.03 kB / 384.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.002641, allocations: 4.938 kB / 384.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.972e-05/0.00274, allocations: 113.7 kB / 384.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.002752, allocations: 8.375 kB / 384.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.002776, allocations: 12.38 kB / 384.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.002889, allocations: 65.23 kB / 384.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.002899, allocations: 192 / 384.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.002909, allocations: 4.375 kB / 384.4 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.002914, allocations: 384 / 384.4 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.535e-05/0.002979, allocations: 39.91 kB / 384.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.00337, allocations: 260.4 kB / 384.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.003593, allocations: 114.7 kB / 384.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.003639, allocations: 40.83 kB / 384.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.003653, allocations: 4 kB / 384.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.003672, allocations: 30.56 kB / 384.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.003673, allocations: 0 / 384.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.00184/0.005512, allocations: 0.8527 MB / 385.7 MB, free: 11.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.005549, allocations: 51.41 kB / 385.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.005619, allocations: 117.8 kB / 385.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.005631, allocations: 29.64 kB / 385.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.005679, allocations: 88.42 kB / 386 MB, free: 11.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.00571, allocations: 63.44 kB / 386.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.005757, allocations: 41.7 kB / 386.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.732e-05/0.005844, allocations: 326.8 kB / 386.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/0.005898, allocations: 43.92 kB / 386.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.005964, allocations: 64.88 kB / 386.6 MB, free: 10.72 MB / 314.7 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 1e5 (2e5 = 1e5) Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.007217, allocations: 493.2 kB / 387 MB, free: 10.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007218, allocations: 4 kB / 387 MB, free: 10.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004735/0.007692, allocations: 285 kB / 387.3 MB, free: 9.941 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.007707, allocations: 6.656 kB / 387.3 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.007713, allocations: 4.031 kB / 387.3 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/0.008156, allocations: 160.6 kB / 387.5 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.762e-05/0.008204, allocations: 15.98 kB / 387.5 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.009818, allocations: 1.837 MB / 389.3 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.009858, allocations: 8 kB / 389.3 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.009866, allocations: 4 kB / 389.3 MB, free: 7.809 MB / 314.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 9.754e-05/0.009964, allocations: 128 kB / 389.5 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.009984, allocations: 7.953 kB / 389.5 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.01001, allocations: 20.72 kB / 389.5 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.01001, allocations: 0 / 389.5 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.01001, allocations: 4 kB / 389.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01002, allocations: 4 kB / 389.5 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.01071, allocations: 0.4955 MB / 390 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01071, allocations: 4.031 kB / 390 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.01074, allocations: 15.98 kB / 390 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.01185, allocations: 288.6 kB / 390.3 MB, free: 6.797 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.01187, allocations: 11.94 kB / 390.3 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.01328, allocations: 1.837 MB / 392.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01328, allocations: 4 kB / 392.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/0.01383, allocations: 433 kB / 392.6 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.01384, allocations: 7.891 kB / 392.6 MB, free: 4.383 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.01385, allocations: 8.047 kB / 392.6 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.31e-05/0.0139, allocations: 3.984 kB / 392.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.01394, allocations: 15.97 kB / 392.6 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.01394, allocations: 8 kB / 392.6 MB, free: 4.348 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.01397, allocations: 91.58 kB / 392.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01397, allocations: 0 / 392.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01421, allocations: 32 kB / 392.7 MB, free: 4.227 MB / 314.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 8.686e-05/0.01429, allocations: 103.2 kB / 392.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.01475, allocations: 298.5 kB / 393.1 MB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01475, allocations: 0 / 393.1 MB, free: 3.812 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.01502, allocations: 250.5 kB / 393.4 MB, free: 3.555 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.01518, allocations: 12 kB / 393.4 MB, free: 3.543 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.01553, allocations: 268 kB / 393.7 MB, free: 3.246 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.904e-05/0.01559, allocations: 84.06 kB / 393.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.01562, allocations: 16.5 kB / 393.8 MB, free: 3.129 MB / 314.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01562, allocations: 4 kB / 393.8 MB, free: 3.125 MB / 314.7 MB Notification: Performance of Templates: time 0.002338/0.01796, allocations: 1.638 MB / 395.4 MB, free: 1.492 MB / 314.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 sys.exit(0), Time elapsed: 4.466190575622022] Failed to read output from testmodel.py, exit status != 0: 0.02297261543571949 0.031119784 0.027367250000000003 Calling exit ...