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.006168/0.006168, allocations: 101.7 kB / 15.73 MB, free: 6.488 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.001351/0.001351, allocations: 193.5 kB / 16.68 MB, free: 6.375 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.002872/0.002872, allocations: 0.5585 MB / 291.1 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.19 kB / 402.4 MB, free: 9.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09404/0.09526, allocations: 49.6 MB / 452 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001699/0.097, allocations: 0.5791 MB / 452.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002154/0.09726, allocations: 50.86 kB / 452.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.09731, allocations: 0 / 452.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.09733, allocations: 3.938 kB / 452.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.09741, allocations: 3.938 kB / 452.7 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.304e-05/0.09751, allocations: 23.91 kB / 452.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.09759, allocations: 43.91 kB / 452.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.09765, allocations: 4 kB / 452.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.09769, allocations: 31.84 kB / 452.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.327e-05/0.09777, allocations: 27.84 kB / 452.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.09779, allocations: 4 kB / 452.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.09781, allocations: 4 kB / 452.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.09784, allocations: 7.984 kB / 452.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.975e-05/0.09788, allocations: 31.8 kB / 452.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.493e-05/0.09797, allocations: 39.81 kB / 452.9 MB, free: 4.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.09799, allocations: 0 / 452.9 MB, free: 4.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09799, allocations: 4 kB / 452.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.098, allocations: 0 / 452.9 MB, free: 4.434 MB / 318.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.0005194/0.09853, allocations: 377.2 kB / 453.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.09859, allocations: 11.89 kB / 453.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.09864, allocations: 8.844 kB / 453.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.09887, allocations: 164.4 kB / 453.4 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.09889, allocations: 4.375 kB / 453.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.09893, allocations: 24.2 kB / 453.4 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.09908, allocations: 66.23 kB / 453.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.09909, allocations: 4.125 kB / 453.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.09911, allocations: 11.92 kB / 453.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.09912, allocations: 0 / 453.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.478e-05/0.09921, allocations: 35.98 kB / 453.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.09968, allocations: 304.8 kB / 453.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.09995, allocations: 114.4 kB / 454 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.1, allocations: 36.84 kB / 454 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.1, allocations: 0 / 454 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1001, allocations: 30.56 kB / 454 MB, free: 3.102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.1001, allocations: 0 / 454 MB, free: 3.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.003207/0.1033, allocations: 0.8577 MB / 454.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1033, allocations: 55.41 kB / 455 MB, free: 2.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.1034, allocations: 105.8 kB / 455.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1035, allocations: 29.7 kB / 455.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.1035, allocations: 88.08 kB / 455.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.1036, allocations: 51.25 kB / 455.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/0.1037, allocations: 37.72 kB / 455.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1038, allocations: 326.8 kB / 455.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.1039, allocations: 35.98 kB / 455.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.104, allocations: 61.69 kB / 455.7 MB, free: 1.359 MB / 318.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.002469/0.1064, allocations: 485.6 kB / 456.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1064, allocations: 0 / 456.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001405/0.1079, allocations: 323.6 kB / 456.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1079, allocations: 4 kB / 456.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1079, allocations: 3.984 kB / 456.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.1096, allocations: 268.5 kB / 456.7 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.1097, allocations: 15.98 kB / 456.7 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003104/0.1128, allocations: 1.951 MB / 458.7 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-05/0.1129, allocations: 4.062 kB / 458.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.1129, allocations: 7.984 kB / 458.7 MB, free: 14.16 MB / 334.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.0001787/0.1131, allocations: 128.5 kB / 458.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1132, allocations: 15.84 kB / 458.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.1132, allocations: 16.5 kB / 458.9 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1132, allocations: 7.984 kB / 458.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1132, allocations: 0 / 458.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1132, allocations: 0 / 458.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1134, allocations: 201.6 kB / 459.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1135, allocations: 4.219 kB / 459.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-05/0.1135, allocations: 8 kB / 459.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.1153, allocations: 280.4 kB / 459.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1154, allocations: 3.938 kB / 459.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.1176, allocations: 1.935 MB / 461.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1176, allocations: 0 / 461.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1187, allocations: 400.1 kB / 461.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.1188, allocations: 85.02 kB / 461.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1188, allocations: 11.94 kB / 461.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1189, allocations: 4 kB / 461.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.119, allocations: 15.97 kB / 461.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.119, allocations: 11.98 kB / 461.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.1191, allocations: 83.5 kB / 461.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1191, allocations: 0 / 461.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.1195, allocations: 40 kB / 461.9 MB, free: 10.7 MB / 334.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.0001057/0.1196, allocations: 104.5 kB / 462 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008388/0.1204, allocations: 326.6 kB / 462.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1204, allocations: 0 / 462.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.1208, allocations: 234.5 kB / 462.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.121, allocations: 6.812 kB / 462.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.1215, allocations: 235.2 kB / 462.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.1218, allocations: 0.7007 MB / 463.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.135e-05/0.1218, allocations: 8.547 kB / 463.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.1218, allocations: 11.44 kB / 463.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1218, allocations: 0 / 463.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of Templates: time 0.005504/0.1274, allocations: 2.375 MB / 465.9 MB, free: 6.68 MB / 334.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)