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.0009786/0.0009788, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009769/0.0009769, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 223.3 MB / 240 MB, free: 5.379 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.004568/0.004569, allocations: 0.5469 MB / 291.6 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003657, allocations: 8 kB / 352.7 MB, free: 2.812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.146, allocations: 50.58 MB / 403.3 MB, free: 192 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.3013/0.4474, allocations: 288.3 kB / 403.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002196/0.4476, allocations: 52.69 kB / 403.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.4477, allocations: 0.5938 kB / 403.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.4477, allocations: 0 / 403.6 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.607e-05/0.4478, allocations: 6 kB / 403.6 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.761e-05/0.4479, allocations: 13.88 kB / 403.6 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.303e-05/0.448, allocations: 45.84 kB / 403.7 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.4481, allocations: 2.672 kB / 403.7 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.02e-05/0.4481, allocations: 23.36 kB / 403.7 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/0.4482, allocations: 28.28 kB / 403.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.4482, allocations: 3.656 kB / 403.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.4483, allocations: 3.156 kB / 403.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.4483, allocations: 13.77 kB / 403.7 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.4483, allocations: 33.27 kB / 403.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.344e-05/0.4484, allocations: 21.55 kB / 403.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4484, allocations: 4 kB / 403.8 MB, free: 9.727 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4484, allocations: 0 / 403.8 MB, free: 9.727 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.4484, allocations: 0 / 403.8 MB, free: 9.727 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.0005355/0.449, allocations: 364.1 kB / 404.1 MB, free: 9.367 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.4491, allocations: 9.594 kB / 404.1 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.4491, allocations: 6.656 kB / 404.2 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.4492, allocations: 179.8 kB / 404.3 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.4493, allocations: 2.719 kB / 404.3 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.4493, allocations: 11.2 kB / 404.3 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.4495, allocations: 71.48 kB / 404.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4495, allocations: 0 / 404.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4496, allocations: 0.875 kB / 404.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4496, allocations: 1.609 kB / 404.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.4497, allocations: 38 kB / 404.5 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.4504, allocations: 311.7 kB / 404.8 MB, free: 8.848 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.4507, allocations: 108.5 kB / 404.9 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.4508, allocations: 32.89 kB / 404.9 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.4509, allocations: 1.031 kB / 404.9 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.4509, allocations: 32.59 kB / 404.9 MB, free: 8.773 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.4509, allocations: 0 / 404.9 MB, free: 8.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.004153/0.4551, allocations: 0.8658 MB / 405.8 MB, free: 8.473 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.4551, allocations: 52.56 kB / 405.8 MB, free: 8.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.4552, allocations: 120.5 kB / 406 MB, free: 8.301 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.4553, allocations: 30.64 kB / 406 MB, free: 8.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.4553, allocations: 94.52 kB / 406.1 MB, free: 8.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.4554, allocations: 58.94 kB / 406.1 MB, free: 8.141 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.4554, allocations: 2.438 kB / 406.1 MB, free: 8.141 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.4555, allocations: 322.8 kB / 406.5 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.4556, allocations: 36.48 kB / 406.5 MB, free: 7.828 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.4557, allocations: 64.52 kB / 406.6 MB, free: 7.809 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.003233/0.4589, allocations: 395.3 kB / 406.9 MB, free: 7.793 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.459, allocations: 1.031 kB / 406.9 MB, free: 7.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001895/0.4609, allocations: 343.1 kB / 407.3 MB, free: 7.723 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.4609, allocations: 10.06 kB / 407.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4609, allocations: 0 / 407.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002376/0.4633, allocations: 294.2 kB / 407.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.4635, allocations: 21.36 kB / 407.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.4674, allocations: 1.92 MB / 409.5 MB, free: 6.316 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.4675, allocations: 2.141 kB / 409.5 MB, free: 6.316 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.4675, allocations: 10.44 kB / 409.5 MB, free: 6.312 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.M2 = 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001538/0.4677, allocations: 123.8 kB / 409.7 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.4677, allocations: 7.219 kB / 409.7 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.4678, allocations: 22.48 kB / 409.7 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4678, allocations: 1.125 kB / 409.7 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.4678, allocations: 2.656 kB / 409.7 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4678, allocations: 1.875 kB / 409.7 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.4681, allocations: 201 kB / 409.9 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4681, allocations: 0.5625 kB / 409.9 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/0.4682, allocations: 9.938 kB / 409.9 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002399/0.4706, allocations: 309.2 kB / 410.2 MB, free: 5.957 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.4707, allocations: 4.234 kB / 410.2 MB, free: 5.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.4732, allocations: 1.754 MB / 412 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.4732, allocations: 3.531 kB / 412 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.4743, allocations: 421.9 kB / 412.4 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.4744, allocations: 83.47 kB / 412.4 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.4744, allocations: 5.547 kB / 412.5 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.4745, allocations: 1.344 kB / 412.5 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.4746, allocations: 12.75 kB / 412.5 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.4746, allocations: 8.25 kB / 412.5 MB, free: 4.172 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.388e-05/0.4746, allocations: 84.06 kB / 412.6 MB, free: 4.098 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4746, allocations: 0 / 412.6 MB, free: 4.098 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003712/0.475, allocations: 40.28 kB / 412.6 MB, free: 4.086 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.902e-05/0.4751, allocations: 96.55 kB / 412.7 MB, free: 3.992 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006966/0.4758, allocations: 319.1 kB / 413 MB, free: 3.816 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.4758, allocations: 1.219 kB / 413 MB, free: 3.816 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.4761, allocations: 218.7 kB / 413.2 MB, free: 3.668 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.4763, allocations: 15.38 kB / 413.2 MB, free: 3.656 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.4767, allocations: 265.6 kB / 413.5 MB, free: 3.449 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.4769, allocations: 0.7014 MB / 414.2 MB, free: 2.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.29e-05/0.4769, allocations: 9.625 kB / 414.2 MB, free: 2.746 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.4769, allocations: 10.53 kB / 414.2 MB, free: 2.738 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4769, allocations: 1 kB / 414.2 MB, free: 2.738 MB / 286.1 MB Notification: Performance of Templates: time 0.005319/0.4823, allocations: 2.064 MB / 416.3 MB, free: 2.625 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)