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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007692/0.007692, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003973/0.003973, allocations: 0.5469 MB / 292 MB, free: 1.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 8 kB / 353.3 MB, free: 2.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4422, allocations: 50.57 MB / 403.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.0008721/0.4431, allocations: 310 kB / 404.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002332/0.4434, allocations: 47.14 kB / 404.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.4434, allocations: 0 / 404.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.4435, allocations: 3.938 kB / 404.2 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/0.4435, allocations: 1.25 kB / 404.2 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.992e-05/0.4436, allocations: 18.92 kB / 404.2 MB, free: 10 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.4438, allocations: 49.86 kB / 404.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.278e-05/0.4438, allocations: 5.344 kB / 404.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.4439, allocations: 22.23 kB / 404.3 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.086e-05/0.444, allocations: 32.38 kB / 404.3 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.444, allocations: 3.656 kB / 404.3 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.444, allocations: 3.688 kB / 404.3 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.4441, allocations: 12.89 kB / 404.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.4441, allocations: 51.25 kB / 404.4 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.844e-05/0.4442, allocations: 31.36 kB / 404.4 MB, free: 9.934 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4442, allocations: 0 / 404.4 MB, free: 9.934 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4442, allocations: 0.625 kB / 404.4 MB, free: 9.934 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.4443, allocations: 0 / 404.4 MB, free: 9.934 MB / 286.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.0004615/0.4447, allocations: 369.8 kB / 404.8 MB, free: 9.566 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.4448, allocations: 9.344 kB / 404.8 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.4448, allocations: 9.453 kB / 404.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.445, allocations: 177.1 kB / 405 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.445, allocations: 6.312 kB / 405 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.445, allocations: 9.281 kB / 405 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.4452, allocations: 68.36 kB / 405.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.4452, allocations: 1.156 kB / 405.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4452, allocations: 5.219 kB / 405.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4452, allocations: 1 kB / 405.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.4453, allocations: 45.11 kB / 405.1 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005093/0.4459, allocations: 303.5 kB / 405.4 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.4462, allocations: 112.9 kB / 405.5 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.724e-05/0.4462, allocations: 34.52 kB / 405.6 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.4463, allocations: 1.344 kB / 405.6 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.4463, allocations: 36.11 kB / 405.6 MB, free: 8.965 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.4463, allocations: 1.094 kB / 405.6 MB, free: 8.965 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.00361/0.4499, allocations: 0.8676 MB / 406.5 MB, free: 8.656 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.45, allocations: 54.38 kB / 406.5 MB, free: 8.594 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.4501, allocations: 108.3 kB / 406.6 MB, free: 8.496 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4501, allocations: 33.14 kB / 406.7 MB, free: 8.461 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.4502, allocations: 92.72 kB / 406.8 MB, free: 8.375 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.4502, allocations: 56.09 kB / 406.8 MB, free: 8.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.4503, allocations: 22.16 kB / 406.8 MB, free: 8.324 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.4504, allocations: 325.6 kB / 407.2 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-05/0.4505, allocations: 42.19 kB / 407.2 MB, free: 8.004 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.4506, allocations: 60.78 kB / 407.3 MB, free: 7.988 MB / 286.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.003094/0.4537, allocations: 0.4971 MB / 407.7 MB, free: 7.949 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4537, allocations: 0 / 407.7 MB, free: 7.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001675/0.4554, allocations: 321 kB / 408.1 MB, free: 7.891 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.4554, allocations: 6.25 kB / 408.1 MB, free: 7.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.4555, allocations: 1.062 kB / 408.1 MB, free: 7.891 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/0.4576, allocations: 276.7 kB / 408.3 MB, free: 7.871 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4577, allocations: 20.44 kB / 408.4 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/0.4611, allocations: 1.817 MB / 410.2 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.4613, allocations: 2.531 kB / 410.2 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.4613, allocations: 6.844 kB / 410.2 MB, free: 6.52 MB / 286.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $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.0001957/0.4615, allocations: 119.8 kB / 410.3 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.4615, allocations: 6.844 kB / 410.3 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.4616, allocations: 26.77 kB / 410.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4616, allocations: 2.641 kB / 410.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.4616, allocations: 2.25 kB / 410.3 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4616, allocations: 5.469 kB / 410.3 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.4618, allocations: 194.8 kB / 410.5 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4618, allocations: 0 / 410.5 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.4619, allocations: 10.64 kB / 410.5 MB, free: 6.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/0.4642, allocations: 296.5 kB / 410.8 MB, free: 6.133 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.4642, allocations: 10.25 kB / 410.8 MB, free: 6.125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.4664, allocations: 1.753 MB / 412.6 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4664, allocations: 0 / 412.6 MB, free: 4.605 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.4676, allocations: 423.6 kB / 413 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.4676, allocations: 79.88 kB / 413.1 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4677, allocations: 7.203 kB / 413.1 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.4678, allocations: 5.75 kB / 413.1 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.4678, allocations: 12.58 kB / 413.1 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.4679, allocations: 4.25 kB / 413.1 MB, free: 4.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.338e-05/0.4679, allocations: 91.34 kB / 413.2 MB, free: 4.188 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4679, allocations: 0 / 413.2 MB, free: 4.188 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.4683, allocations: 37.72 kB / 413.2 MB, free: 4.18 MB / 286.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.0001184/0.4684, allocations: 100.7 kB / 413.3 MB, free: 4.082 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008993/0.4693, allocations: 325.6 kB / 413.7 MB, free: 3.898 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.4694, allocations: 0 / 413.7 MB, free: 3.898 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.4697, allocations: 223.8 kB / 413.9 MB, free: 3.746 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.47, allocations: 9.578 kB / 413.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.4705, allocations: 277.4 kB / 414.2 MB, free: 3.527 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.4707, allocations: 0.7005 MB / 414.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.582e-05/0.4707, allocations: 5.719 kB / 414.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.4708, allocations: 10.66 kB / 414.9 MB, free: 2.824 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4708, allocations: 5.188 kB / 414.9 MB, free: 2.82 MB / 286.1 MB Notification: Performance of Templates: time 0.007258/0.478, allocations: 2.199 MB / 417.1 MB, free: 2.699 MB / 286.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.makefile (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)