Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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.001402/0.001402, 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.001499/0.001499, allocations: 162.5 kB / 22.46 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.409/1.409, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.002823/0.002823, allocations: 427.5 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.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 382.3 MB, free: 4.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.094e-05, allocations: 2.281 kB / 382.3 MB, free: 4.211 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001411/0.001432, allocations: 0.5621 MB / 382.8 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001947/0.001627, allocations: 45.67 kB / 382.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.001659, allocations: 7.938 kB / 382.9 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.001673, allocations: 3.938 kB / 382.9 MB, free: 3.598 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.001752, allocations: 7.875 kB / 382.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.057e-05/0.001842, allocations: 19.95 kB / 382.9 MB, free: 3.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.001926, allocations: 47.89 kB / 383 MB, free: 3.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.001969, allocations: 7.938 kB / 383 MB, free: 3.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.82e-05/0.002027, allocations: 31.95 kB / 383 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.002092, allocations: 19.91 kB / 383 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.002112, allocations: 4 kB / 383 MB, free: 3.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.002126, allocations: 4 kB / 383 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.002149, allocations: 19.97 kB / 383.1 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.002183, allocations: 15.92 kB / 383.1 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.836e-05/0.002262, allocations: 35.81 kB / 383.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.002263, allocations: 0 / 383.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002264, allocations: 4 kB / 383.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.002267, allocations: 0 / 383.1 MB, free: 3.383 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.0005057/0.002773, allocations: 298.1 kB / 383.4 MB, free: 3.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.002806, allocations: 12.03 kB / 383.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.002842, allocations: 8.938 kB / 383.4 MB, free: 3.039 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.00297, allocations: 117.7 kB / 383.5 MB, free: 2.898 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.002983, allocations: 4.312 kB / 383.5 MB, free: 2.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.003012, allocations: 16.38 kB / 383.6 MB, free: 2.879 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.003145, allocations: 66.23 kB / 383.6 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.003154, allocations: 192 / 383.6 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.003164, allocations: 384 / 383.6 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.003171, allocations: 4.359 kB / 383.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.859e-05/0.003259, allocations: 43.92 kB / 383.7 MB, free: 2.762 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.00371, allocations: 248.4 kB / 383.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.003991, allocations: 110.5 kB / 384 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.004045, allocations: 24.86 kB / 384.1 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.004063, allocations: 4 kB / 384.1 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.004087, allocations: 34.56 kB / 384.1 MB, free: 2.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.004088, allocations: 0 / 384.1 MB, free: 2.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.003313/0.007401, allocations: 0.7825 MB / 384.9 MB, free: 1.477 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.007441, allocations: 51.41 kB / 384.9 MB, free: 1.414 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.958e-05/0.00754, allocations: 117.8 kB / 385 MB, free: 1.289 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.007563, allocations: 29.7 kB / 385.1 MB, free: 1.254 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.007621, allocations: 92.08 kB / 385.2 MB, free: 1.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.007666, allocations: 51.55 kB / 385.2 MB, free: 1.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.007726, allocations: 37.7 kB / 385.2 MB, free: 1.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.007867, allocations: 318.8 kB / 385.6 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.007942, allocations: 39.92 kB / 385.6 MB, free: 0.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.008034, allocations: 61.69 kB / 385.7 MB, free: 0.6406 MB / 302.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002666/0.0107, allocations: 490.8 kB / 386.1 MB, free: 164 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.0107, allocations: 0 / 386.1 MB, free: 164 kB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001562/0.01226, allocations: 322.1 kB / 386.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.01228, allocations: 11.98 kB / 386.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01229, allocations: 4.031 kB / 386.5 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/0.01413, allocations: 252.6 kB / 386.7 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.01421, allocations: 19.98 kB / 386.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003346/0.01756, allocations: 1.804 MB / 388.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.585e-05/0.01764, allocations: 4.062 kB / 388.5 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.01765, allocations: 11.94 kB / 388.5 MB, free: 13.63 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: $DER.E1 = 0.0. 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 (10): * Single equations (assignments): 9 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.01781, allocations: 113.8 kB / 388.7 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.01785, allocations: 11.89 kB / 388.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.01788, allocations: 20.44 kB / 388.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01788, allocations: 0 / 388.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.01789, allocations: 4.062 kB / 388.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.0179, allocations: 11.97 kB / 388.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.01809, allocations: 133.3 kB / 388.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01809, allocations: 0 / 388.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.01815, allocations: 16 kB / 388.9 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/0.02011, allocations: 272.5 kB / 389.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.02012, allocations: 4 kB / 389.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.02248, allocations: 1.81 MB / 390.9 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.02248, allocations: 3.984 kB / 390.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.02359, allocations: 407.2 kB / 391.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.0236, allocations: 11.95 kB / 391.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.02362, allocations: 4 kB / 391.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.02374, allocations: 0 / 391.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.02378, allocations: 20.02 kB / 391.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.02379, allocations: 3.984 kB / 391.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.688e-05/0.02384, allocations: 87.36 kB / 391.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02384, allocations: 0 / 391.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003215/0.02417, allocations: 32 kB / 391.5 MB, free: 10.52 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,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 (8): * Single equations (assignments): 7 * 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 {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001063/0.02427, allocations: 99.25 kB / 391.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008213/0.02509, allocations: 318.3 kB / 391.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.0251, allocations: 64 / 391.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.02544, allocations: 222.5 kB / 392.1 MB, free: 9.863 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.02567, allocations: 14.59 kB / 392.1 MB, free: 9.852 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.02607, allocations: 225.1 kB / 392.3 MB, free: 9.605 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.745e-05/0.02616, allocations: 96 kB / 392.4 MB, free: 9.492 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.644e-05/0.02618, allocations: 8.359 kB / 392.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.02621, allocations: 12.5 kB / 392.5 MB, free: 9.473 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.02621, allocations: 0 / 392.5 MB, free: 9.473 MB / 318.1 MB Notification: Performance of Templates: time 0.005991/0.0322, allocations: 2.532 MB / 395 MB, free: 6.992 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.1552426517009735] Failed to read output from testmodel.py, exit status != 0: 0.04044424369931221 0.054763507 0.049504683 Calling exit ...