Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",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.001182/0.001182, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001201/0.001201, allocations: 191.9 kB / 16.14 MB, free: 6.727 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.216/1.216, allocations: 222.9 MB / 239.8 MB, free: 4.539 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.002344/0.002344, allocations: 0.5581 MB / 290.5 MB, free: 1.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 59.91 kB / 351 MB, free: 2.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07619/0.07732, allocations: 49.6 MB / 400.6 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.00159/0.07895, allocations: 0.6416 MB / 401.2 MB, free: 360 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001584/0.07912, allocations: 51.73 kB / 401.3 MB, free: 308 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.473e-05/0.07916, allocations: 0 / 401.3 MB, free: 308 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.07918, allocations: 0 / 401.3 MB, free: 308 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.732e-05/0.07925, allocations: 11.94 kB / 401.3 MB, free: 296 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.924e-05/0.07933, allocations: 7.984 kB / 401.3 MB, free: 288 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.814e-05/0.07939, allocations: 43.91 kB / 401.3 MB, free: 244 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.07944, allocations: 7.984 kB / 401.3 MB, free: 236 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.852e-05/0.07947, allocations: 27.86 kB / 401.4 MB, free: 208 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.07953, allocations: 23.84 kB / 401.4 MB, free: 184 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.07956, allocations: 4 kB / 401.4 MB, free: 180 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.07958, allocations: 4 kB / 401.4 MB, free: 176 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.07961, allocations: 19.91 kB / 401.4 MB, free: 156 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.07964, allocations: 23.86 kB / 401.4 MB, free: 132 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.269e-05/0.0797, allocations: 27.91 kB / 401.5 MB, free: 104 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.07971, allocations: 4 kB / 401.5 MB, free: 100 kB / 286.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.07971, allocations: 0 / 401.5 MB, free: 100 kB / 286.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.07972, allocations: 0 / 401.5 MB, free: 100 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.1139/0.1936, allocations: 367.2 kB / 401.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1937, allocations: 13.3 kB / 401.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.428e-05/0.1937, allocations: 37.12 kB / 401.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.1937, allocations: 10.03 kB / 401.9 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.002e-05/0.1938, allocations: 184.6 kB / 402.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.1938, allocations: 3.688 kB / 402.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.1938, allocations: 8.812 kB / 402.1 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.194, allocations: 66.45 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.194, allocations: 3.938 kB / 402.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.194, allocations: 4.688 kB / 402.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.194, allocations: 3.375 kB / 402.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/0.1941, allocations: 44 kB / 402.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.1944, allocations: 301 kB / 402.5 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.1947, allocations: 124.8 kB / 402.6 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.474e-05/0.1948, allocations: 39.95 kB / 402.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.1948, allocations: 2.031 kB / 402.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.063e-05/0.1948, allocations: 36.86 kB / 402.7 MB, free: 9.988 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.1948, allocations: 0 / 402.7 MB, free: 9.988 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003148/0.198, allocations: 0.9278 MB / 403.6 MB, free: 9.691 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.734e-05/0.198, allocations: 54.45 kB / 403.7 MB, free: 9.629 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.022e-05/0.198, allocations: 113.2 kB / 403.8 MB, free: 9.527 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1981, allocations: 30.83 kB / 403.8 MB, free: 9.496 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.1981, allocations: 82.17 kB / 403.9 MB, free: 9.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1981, allocations: 65.03 kB / 404 MB, free: 9.371 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.1982, allocations: 46.19 kB / 404 MB, free: 9.352 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.392e-05/0.1982, allocations: 319.5 kB / 404.3 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.1983, allocations: 42.61 kB / 404.4 MB, free: 9.039 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.1984, allocations: 63.77 kB / 404.4 MB, free: 9.023 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/0.2008, allocations: 0.5667 MB / 405 MB, free: 8.887 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2008, allocations: 1.062 kB / 405 MB, free: 8.887 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008706/0.2017, allocations: 286.7 kB / 405.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2017, allocations: 5.812 kB / 405.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2018, allocations: 1.094 kB / 405.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008396/0.2026, allocations: 155.1 kB / 405.4 MB, free: 8.758 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.2027, allocations: 21.22 kB / 405.5 MB, free: 8.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.2047, allocations: 1.796 MB / 407.2 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.431e-05/0.2047, allocations: 5.672 kB / 407.3 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.2048, allocations: 4.219 kB / 407.3 MB, free: 7.203 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: p1 = 100000.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 (13): * Single equations (assignments): 12 * 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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.2049, allocations: 117.8 kB / 407.4 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.2049, allocations: 16.17 kB / 407.4 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.205, allocations: 18.58 kB / 407.4 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.205, allocations: 2.438 kB / 407.4 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.205, allocations: 6.188 kB / 407.4 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.205, allocations: 0.8438 kB / 407.4 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.2061, allocations: 0.5701 MB / 408 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2061, allocations: 0 / 408 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.948e-05/0.2062, allocations: 16 kB / 408 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/0.2079, allocations: 287.7 kB / 408.3 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.208, allocations: 6.75 kB / 408.3 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.2099, allocations: 1.785 MB / 410.1 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2099, allocations: 2.516 kB / 410.1 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000939/0.2108, allocations: 439.2 kB / 410.5 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.2109, allocations: 86.81 kB / 410.6 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.2109, allocations: 4.938 kB / 410.6 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.211, allocations: 2.797 kB / 410.6 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.211, allocations: 23.72 kB / 410.6 MB, free: 4.723 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.211, allocations: 4.266 kB / 410.6 MB, free: 4.723 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.563e-05/0.2111, allocations: 88.5 kB / 410.7 MB, free: 4.645 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2111, allocations: 0 / 410.7 MB, free: 4.645 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.2114, allocations: 30.47 kB / 410.7 MB, free: 4.641 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,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 (9): * Single equations (assignments): 8 * 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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/0.2125, allocations: 0.9633 MB / 411.7 MB, free: 3.863 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006462/0.2131, allocations: 314.1 kB / 412 MB, free: 3.688 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2132, allocations: 1.156 kB / 412 MB, free: 3.688 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.2136, allocations: 261.7 kB / 412.3 MB, free: 3.523 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.2139, allocations: 16.56 kB / 412.3 MB, free: 3.512 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.2164, allocations: 1.965 MB / 414.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.2165, allocations: 0.7022 MB / 414.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.82e-05/0.2166, allocations: 5.75 kB / 415 MB, free: 1.309 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.2166, allocations: 25.48 kB / 415 MB, free: 1.289 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2166, allocations: 3.938 kB / 415 MB, free: 1.285 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.705/2.922, allocations: 2.902 MB / 417.9 MB, free: 1 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/2.922, allocations: 285.5 kB / 418.2 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/4.449, allocations: 5.438 kB / 418.2 MB, free: 0.6211 MB / 286.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)