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.001212/0.001212, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001772/0.001772, allocations: 190.8 kB / 16.25 MB, free: 6.617 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.595/1.595, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.002859/0.002859, allocations: 0.5696 MB / 290.6 MB, free: 1.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 351.1 MB, free: 2.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1355, allocations: 49.6 MB / 400.7 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.002011/0.1376, allocations: 0.6183 MB / 401.3 MB, free: 384 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002491/0.1379, allocations: 55.8 kB / 401.3 MB, free: 328 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.1379, allocations: 4 kB / 401.3 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.1379, allocations: 3.938 kB / 401.3 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/0.138, allocations: 0 / 401.3 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.1382, allocations: 23.91 kB / 401.4 MB, free: 296 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.177e-05/0.1383, allocations: 43.84 kB / 401.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.541e-05/0.1383, allocations: 4 kB / 401.4 MB, free: 248 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.1384, allocations: 23.92 kB / 401.4 MB, free: 224 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.1385, allocations: 35.78 kB / 401.5 MB, free: 188 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.1385, allocations: 3.984 kB / 401.5 MB, free: 184 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.1385, allocations: 4 kB / 401.5 MB, free: 180 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.1386, allocations: 15.98 kB / 401.5 MB, free: 164 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.1386, allocations: 27.86 kB / 401.5 MB, free: 136 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.134e-05/0.1387, allocations: 27.81 kB / 401.5 MB, free: 108 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1387, allocations: 0 / 401.5 MB, free: 108 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1387, allocations: 0 / 401.5 MB, free: 108 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1387, allocations: 4 kB / 401.5 MB, free: 104 kB / 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.305/0.4437, allocations: 368.8 kB / 401.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.4438, allocations: 15.23 kB / 401.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.4438, allocations: 9.281 kB / 401.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.816e-05/0.4439, allocations: 175.6 kB / 402.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.4439, allocations: 9.156 kB / 402.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.444, allocations: 9.266 kB / 402.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.4441, allocations: 69.66 kB / 402.2 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.4441, allocations: 192 / 402.2 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.4441, allocations: 7.531 kB / 402.2 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4441, allocations: 1.781 kB / 402.2 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.433e-05/0.4442, allocations: 41.39 kB / 402.2 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.4446, allocations: 299.6 kB / 402.5 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.4449, allocations: 115.5 kB / 402.6 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.445, allocations: 36.16 kB / 402.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.445, allocations: 2.5 kB / 402.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.445, allocations: 38.31 kB / 402.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.445, allocations: 0 / 402.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003446/0.4485, allocations: 0.8622 MB / 403.6 MB, free: 9.754 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.4485, allocations: 53.28 kB / 403.6 MB, free: 9.691 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.4486, allocations: 108.9 kB / 403.7 MB, free: 9.594 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4487, allocations: 29.02 kB / 403.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.4487, allocations: 94.42 kB / 403.9 MB, free: 9.473 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.4488, allocations: 52.09 kB / 403.9 MB, free: 9.441 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.4489, allocations: 34.75 kB / 403.9 MB, free: 9.426 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.449, allocations: 326.9 kB / 404.3 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.362e-05/0.4491, allocations: 44.83 kB / 404.3 MB, free: 9.105 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.4492, allocations: 59.91 kB / 404.4 MB, free: 9.09 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.002621/0.4518, allocations: 484.6 kB / 404.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4518, allocations: 1.312 kB / 404.8 MB, free: 9.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0015/0.4533, allocations: 326.5 kB / 405.2 MB, free: 8.965 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4533, allocations: 4.344 kB / 405.2 MB, free: 8.965 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4534, allocations: 1.844 kB / 405.2 MB, free: 8.965 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.455, allocations: 263.8 kB / 405.4 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/0.4551, allocations: 16.41 kB / 405.4 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/0.4583, allocations: 1.951 MB / 407.4 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.802e-05/0.4584, allocations: 9.891 kB / 407.4 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.4584, allocations: 3.906 kB / 407.4 MB, free: 7.316 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 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.0002455/0.4587, allocations: 118.7 kB / 407.5 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.4588, allocations: 12.91 kB / 407.5 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.4588, allocations: 21.97 kB / 407.6 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4588, allocations: 1.688 kB / 407.6 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.4588, allocations: 1.156 kB / 407.6 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.4588, allocations: 6.562 kB / 407.6 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.4591, allocations: 196 kB / 407.8 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4591, allocations: 3.938 kB / 407.8 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.4591, allocations: 12.05 kB / 407.8 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001866/0.461, allocations: 279.8 kB / 408 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.461, allocations: 2.25 kB / 408 MB, free: 6.922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.4631, allocations: 1.938 MB / 410 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4631, allocations: 1.75 kB / 410 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.4641, allocations: 405.1 kB / 410.4 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.4642, allocations: 84.52 kB / 410.5 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.4642, allocations: 8.969 kB / 410.5 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4643, allocations: 1.828 kB / 410.5 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.4644, allocations: 19.48 kB / 410.5 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.4644, allocations: 5.406 kB / 410.5 MB, free: 4.883 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.4644, allocations: 86.45 kB / 410.6 MB, free: 4.805 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4644, allocations: 3.938 kB / 410.6 MB, free: 4.801 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.4648, allocations: 33.62 kB / 410.6 MB, free: 4.797 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.0001009/0.4649, allocations: 100.8 kB / 410.7 MB, free: 4.699 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008884/0.4658, allocations: 331.7 kB / 411 MB, free: 4.52 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4658, allocations: 1 kB / 411 MB, free: 4.52 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.4662, allocations: 227 kB / 411.3 MB, free: 4.363 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.4664, allocations: 6.156 kB / 411.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.4669, allocations: 269.3 kB / 411.5 MB, free: 4.16 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.4671, allocations: 0.7046 MB / 412.2 MB, free: 3.461 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.245e-05/0.4672, allocations: 5.125 kB / 412.2 MB, free: 3.461 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.4672, allocations: 11.38 kB / 412.3 MB, free: 3.453 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4672, allocations: 0 / 412.3 MB, free: 3.453 MB / 286.1 MB Notification: Performance of Templates: time 0.006758/0.474, allocations: 2.37 MB / 414.6 MB, free: 3.32 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)