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: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001146/0.001146, allocations: 196.7 kB / 16.14 MB, free: 6.695 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.171/1.171, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.002275/0.002275, allocations: 0.5546 MB / 290.5 MB, free: 1.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009866/0.0009867, allocations: 60.03 kB / 351 MB, free: 2.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07378/0.07478, allocations: 49.6 MB / 400.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001566/0.07638, allocations: 0.63 MB / 401.2 MB, free: 420 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001757/0.07658, allocations: 55.67 kB / 401.3 MB, free: 364 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.07662, allocations: 4 kB / 401.3 MB, free: 360 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.07664, allocations: 0 / 401.3 MB, free: 360 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.649e-05/0.07671, allocations: 3.938 kB / 401.3 MB, free: 356 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.142e-05/0.0768, allocations: 15.97 kB / 401.3 MB, free: 340 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.658e-05/0.07686, allocations: 39.91 kB / 401.3 MB, free: 300 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.07691, allocations: 8 kB / 401.3 MB, free: 292 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.07694, allocations: 23.92 kB / 401.4 MB, free: 268 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.077, allocations: 23.84 kB / 401.4 MB, free: 244 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.07702, allocations: 4 kB / 401.4 MB, free: 240 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.07704, allocations: 4 kB / 401.4 MB, free: 236 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.07707, allocations: 23.91 kB / 401.4 MB, free: 212 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.07711, allocations: 23.86 kB / 401.4 MB, free: 188 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.607e-05/0.07717, allocations: 31.88 kB / 401.5 MB, free: 156 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.07718, allocations: 4 kB / 401.5 MB, free: 152 kB / 286.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.07718, allocations: 0 / 401.5 MB, free: 152 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.07719, allocations: 0 / 401.5 MB, free: 152 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.1161/0.1933, allocations: 367.3 kB / 401.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1933, allocations: 13.59 kB / 401.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.1934, allocations: 41.52 kB / 401.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.1934, allocations: 13.12 kB / 401.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.546e-05/0.1935, allocations: 175.9 kB / 402.1 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1935, allocations: 6.031 kB / 402.1 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.1935, allocations: 8.297 kB / 402.1 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1937, allocations: 70.59 kB / 402.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1937, allocations: 7.781 kB / 402.2 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.1937, allocations: 7.578 kB / 402.2 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1937, allocations: 1.719 kB / 402.2 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.329e-05/0.1938, allocations: 37.97 kB / 402.2 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.1942, allocations: 303.9 kB / 402.5 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.1944, allocations: 107.8 kB / 402.6 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.1945, allocations: 37.47 kB / 402.6 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.1945, allocations: 2.562 kB / 402.6 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.1945, allocations: 35.38 kB / 402.7 MB, free: 10.06 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.1945, allocations: 0 / 402.7 MB, free: 10.06 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.00299/0.1975, allocations: 0.8546 MB / 403.5 MB, free: 9.777 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.1975, allocations: 52.59 kB / 403.6 MB, free: 9.715 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.1976, allocations: 111.8 kB / 403.7 MB, free: 9.613 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.1976, allocations: 29.3 kB / 403.7 MB, free: 9.582 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.1976, allocations: 97.89 kB / 403.8 MB, free: 9.492 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.1977, allocations: 54 kB / 403.9 MB, free: 9.461 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.1977, allocations: 36.45 kB / 403.9 MB, free: 9.445 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.1978, allocations: 324.7 kB / 404.2 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.1978, allocations: 36.89 kB / 404.3 MB, free: 9.129 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.1979, allocations: 60.61 kB / 404.3 MB, free: 9.113 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.002381/0.2003, allocations: 486 kB / 404.8 MB, free: 9.074 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2003, allocations: 0.9688 kB / 404.8 MB, free: 9.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001399/0.2017, allocations: 333.1 kB / 405.1 MB, free: 8.988 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2018, allocations: 4.719 kB / 405.1 MB, free: 8.988 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2018, allocations: 3.875 kB / 405.1 MB, free: 8.988 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/0.2034, allocations: 257 kB / 405.4 MB, free: 8.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.2035, allocations: 22.77 kB / 405.4 MB, free: 8.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.2061, allocations: 1.796 MB / 407.2 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.2062, allocations: 5.688 kB / 407.2 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.2062, allocations: 7.219 kB / 407.2 MB, free: 7.465 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.0001309/0.2063, allocations: 122.9 kB / 407.3 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.2064, allocations: 7.469 kB / 407.3 MB, free: 7.336 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.2064, allocations: 22.97 kB / 407.4 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2064, allocations: 4.391 kB / 407.4 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2064, allocations: 0 / 407.4 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2064, allocations: 0.8906 kB / 407.4 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.2066, allocations: 200.1 kB / 407.6 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2066, allocations: 0.8438 kB / 407.6 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.2067, allocations: 10.83 kB / 407.6 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001697/0.2084, allocations: 274 kB / 407.8 MB, free: 7.078 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2084, allocations: 10.45 kB / 407.8 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.21, allocations: 1.747 MB / 409.6 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.21, allocations: 0 / 409.6 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009215/0.2109, allocations: 415.3 kB / 410 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.211, allocations: 83.16 kB / 410.1 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.211, allocations: 2.016 kB / 410.1 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.2111, allocations: 5.469 kB / 410.1 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.2111, allocations: 15.52 kB / 410.1 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.2112, allocations: 7.891 kB / 410.1 MB, free: 5.211 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.71e-05/0.2112, allocations: 87.27 kB / 410.2 MB, free: 5.137 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2112, allocations: 1.094 kB / 410.2 MB, free: 5.137 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.2115, allocations: 36.97 kB / 410.2 MB, free: 5.129 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.001069/0.2126, allocations: 0.9369 MB / 411.2 MB, free: 4.371 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006711/0.2132, allocations: 319 kB / 411.5 MB, free: 4.191 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2132, allocations: 0 / 411.5 MB, free: 4.191 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.2135, allocations: 223.3 kB / 411.7 MB, free: 4.039 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.2137, allocations: 7.094 kB / 411.7 MB, free: 4.035 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.2173, allocations: 2.048 MB / 413.8 MB, free: 2.539 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.2174, allocations: 0.701 MB / 414.5 MB, free: 1.844 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.737e-05/0.2175, allocations: 5.188 kB / 414.5 MB, free: 1.844 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.2175, allocations: 25.48 kB / 414.5 MB, free: 1.824 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2175, allocations: 0 / 414.5 MB, free: 1.824 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.017/1.235, allocations: 3.441 MB / 417.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/1.235, allocations: 333.1 kB / 418.3 MB, free: 1.07 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.959, allocations: 3.969 kB / 418.3 MB, free: 1.07 MB / 286.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)