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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002875/0.002874, allocations: 179.4 kB / 7.462 MB, free: 440 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.696/2.696, allocations: 221.4 MB / 229.3 MB, free: 12.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 99.95 kB / 280.1 MB, free: 10.19 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.008455/0.008454, allocations: 0.5471 MB / 331.4 MB, free: 18.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.2377/0.2463, allocations: 56.7 MB / 388.1 MB, free: 10.24 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.7963, allocations: 50.55 MB / 438.7 MB, free: 23.71 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.9899, allocations: 74.44 MB / 0.5011 GB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000436/0.9904, allocations: 63.95 kB / 0.5012 GB, free: 13.09 MB / 350.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.00412/0.9946, allocations: 0.9566 MB / 0.5021 GB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.336e-05/0.9947, allocations: 8 kB / 0.5021 GB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.9947, allocations: 11.91 kB / 0.5021 GB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.9951, allocations: 171 kB / 0.5023 GB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.9951, allocations: 0 / 0.5023 GB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.9952, allocations: 8 kB / 0.5023 GB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001442/0.9953, allocations: 31.98 kB / 0.5023 GB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.9955, allocations: 65.59 kB / 0.5024 GB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.9955, allocations: 0 / 0.5024 GB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.9956, allocations: 0 / 0.5024 GB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.9956, allocations: 0 / 0.5024 GB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.9963, allocations: 281.3 kB / 0.5027 GB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.9965, allocations: 61.64 kB / 0.5027 GB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.48e-05/0.9966, allocations: 33.05 kB / 0.5027 GB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.9966, allocations: 0 / 0.5027 GB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.9967, allocations: 34.56 kB / 0.5028 GB, free: 11.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.9967, allocations: 4 kB / 0.5028 GB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.003412/1, allocations: 0.7215 MB / 0.5035 GB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/1, allocations: 63.25 kB / 0.5035 GB, free: 10.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/1, allocations: 101 kB / 0.5036 GB, free: 10.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/1, allocations: 29.7 kB / 0.5037 GB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/1.001, allocations: 84.47 kB / 0.5037 GB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/1.001, allocations: 63.09 kB / 0.5038 GB, free: 10.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/1.001, allocations: 0 / 0.5038 GB, free: 10.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002978/1.001, allocations: 314.8 kB / 0.5041 GB, free: 9.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/1.001, allocations: 36.38 kB / 0.5041 GB, free: 9.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/1.001, allocations: 65.02 kB / 0.5042 GB, free: 9.73 MB / 350.1 MB Notification: The following equation is consistent and got removed from the initialization problem: p1 = 100000.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/1.004, allocations: 462.3 kB / 0.5046 GB, free: 9.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.004, allocations: 0 / 0.5046 GB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001153/1.005, allocations: 256.4 kB / 0.5049 GB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.005, allocations: 4 kB / 0.5049 GB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/1.005, allocations: 7.891 kB / 0.5049 GB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/1.006, allocations: 152.7 kB / 0.505 GB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/1.007, allocations: 23.92 kB / 0.5051 GB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003516/1.01, allocations: 1.743 MB / 0.5068 GB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.573e-05/1.01, allocations: 4 kB / 0.5068 GB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/1.01, allocations: 8 kB / 0.5068 GB, free: 6.941 MB / 350.1 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: 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 () * 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 (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 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/1.01, allocations: 113 kB / 0.5069 GB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/1.011, allocations: 7.906 kB / 0.5069 GB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/1.011, allocations: 12.56 kB / 0.5069 GB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/1.011, allocations: 4 kB / 0.5069 GB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/1.011, allocations: 0 / 0.5069 GB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.011, allocations: 3.984 kB / 0.5069 GB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/1.012, allocations: 0.516 MB / 0.5074 GB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.012, allocations: 0 / 0.5074 GB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/1.012, allocations: 15.98 kB / 0.5074 GB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/1.015, allocations: 288.6 kB / 0.5077 GB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/1.015, allocations: 7.984 kB / 0.5077 GB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003317/1.018, allocations: 1.751 MB / 0.5094 GB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/1.018, allocations: 4 kB / 0.5094 GB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001252/1.019, allocations: 420.3 kB / 0.5098 GB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001539/1.021, allocations: 0.8388 MB / 0.5107 GB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/1.021, allocations: 89.33 kB / 0.5107 GB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/1.021, allocations: 7.922 kB / 0.5107 GB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/1.021, allocations: 3.906 kB / 0.5108 GB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/1.021, allocations: 11.98 kB / 0.5108 GB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/1.021, allocations: 4 kB / 0.5108 GB, free: 2.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.553e-05/1.021, allocations: 87.28 kB / 0.5109 GB, free: 2.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001054/1.022, allocations: 27.98 kB / 0.5109 GB, free: 2.496 MB / 350.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 () * 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 (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 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002123/1.022, allocations: 99.25 kB / 0.511 GB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009324/1.023, allocations: 276.5 kB / 0.5112 GB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.023, allocations: 0 / 0.5112 GB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006301/1.024, allocations: 217.7 kB / 0.5114 GB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/1.024, allocations: 7.844 kB / 0.5115 GB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/1.025, allocations: 193.5 kB / 0.5116 GB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/1.025, allocations: 0.7314 MB / 0.5123 GB, free: 0.8984 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/1.025, allocations: 0 / 0.5123 GB, free: 0.8984 MB / 350.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/linux/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)