Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.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.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature",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.008541/0.008541, allocations: 175 kB / 7.452 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.607/2.607, allocations: 221.4 MB / 229.3 MB, free: 3.055 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 100.9 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.00673/0.006731, allocations: 0.5566 MB / 331.4 MB, free: 13.87 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4404/0.4473, allocations: 56.68 MB / 388.1 MB, free: 76.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.6535, allocations: 50.56 MB / 438.7 MB, free: 25.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6418/1.295, allocations: 74.5 MB / 0.5012 GB, free: 5.398 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/1.296, allocations: 61.78 kB / 0.5012 GB, free: 5.367 MB / 314.7 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.004033/1.3, allocations: 1.029 MB / 0.5022 GB, free: 4.453 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/1.3, allocations: 8 kB / 0.5022 GB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/1.3, allocations: 7.906 kB / 0.5022 GB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/1.3, allocations: 167 kB / 0.5024 GB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/1.3, allocations: 0 / 0.5024 GB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/1.3, allocations: 15.06 kB / 0.5024 GB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001511/1.301, allocations: 34.73 kB / 0.5025 GB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/1.301, allocations: 60.22 kB / 0.5025 GB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/1.301, allocations: 0 / 0.5025 GB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/1.301, allocations: 0 / 0.5025 GB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.301, allocations: 0 / 0.5025 GB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007317/1.302, allocations: 279 kB / 0.5028 GB, free: 3.852 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/1.302, allocations: 84 kB / 0.5029 GB, free: 3.777 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/1.302, allocations: 31.3 kB / 0.5029 GB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/1.302, allocations: 0 / 0.5029 GB, free: 3.754 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.302, allocations: 34.56 kB / 0.5029 GB, free: 3.711 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/1.302, allocations: 0 / 0.5029 GB, free: 3.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.004127/1.306, allocations: 0.6929 MB / 0.5036 GB, free: 3.031 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/1.306, allocations: 58.97 kB / 0.5037 GB, free: 2.965 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.983e-05/1.306, allocations: 101.8 kB / 0.5037 GB, free: 2.863 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/1.306, allocations: 25.7 kB / 0.5038 GB, free: 2.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/1.306, allocations: 84 kB / 0.5039 GB, free: 2.746 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/1.307, allocations: 59.36 kB / 0.5039 GB, free: 2.695 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/1.307, allocations: 0 / 0.5039 GB, free: 2.695 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/1.307, allocations: 322.5 kB / 0.5042 GB, free: 2.375 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/1.307, allocations: 38.44 kB / 0.5043 GB, free: 2.352 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/1.307, allocations: 54.69 kB / 0.5043 GB, free: 2.309 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/1.307, allocations: 35.45 kB / 0.5043 GB, free: 2.285 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.307, allocations: 3.938 kB / 0.5043 GB, free: 2.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002453/1.309, allocations: 340.5 kB / 0.5047 GB, free: 1.988 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/1.31, allocations: 11.89 kB / 0.5047 GB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.31, allocations: 0 / 0.5047 GB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/1.312, allocations: 273.7 kB / 0.5049 GB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/1.312, allocations: 8 kB / 0.5049 GB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005454/1.318, allocations: 1.984 MB / 0.5069 GB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/1.318, allocations: 4 kB / 0.5069 GB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/1.318, allocations: 7.906 kB / 0.5069 GB, free: 15.82 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real p1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real 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 (7): * Single equations (assignments): 6 * 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: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002234/1.318, allocations: 108.9 kB / 0.507 GB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/1.318, allocations: 8 kB / 0.507 GB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/1.318, allocations: 22.34 kB / 0.507 GB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.319, allocations: 8 kB / 0.507 GB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.319, allocations: 1.062 kB / 0.507 GB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/1.319, allocations: 0 / 0.507 GB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/1.319, allocations: 168.6 kB / 0.5072 GB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.319, allocations: 3.906 kB / 0.5072 GB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.152e-05/1.319, allocations: 8 kB / 0.5072 GB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003163/1.322, allocations: 278.9 kB / 0.5075 GB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/1.322, allocations: 4 kB / 0.5075 GB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004011/1.326, allocations: 1.676 MB / 0.5091 GB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.326, allocations: 1.812 kB / 0.5091 GB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001842/1.328, allocations: 389.5 kB / 0.5095 GB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002103/1.33, allocations: 0.7989 MB / 0.5103 GB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.853e-05/1.33, allocations: 85.02 kB / 0.5104 GB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/1.33, allocations: 0 / 0.5104 GB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/1.331, allocations: 0 / 0.5104 GB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/1.331, allocations: 7.984 kB / 0.5104 GB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/1.331, allocations: 7.188 kB / 0.5104 GB, free: 12.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.59e-05/1.331, allocations: 86.45 kB / 0.5104 GB, free: 12.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001939/1.333, allocations: 36.08 kB / 0.5105 GB, free: 12.25 MB / 330.7 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 () * 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 (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 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002328/1.333, allocations: 102.4 kB / 0.5106 GB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/1.334, allocations: 248.9 kB / 0.5108 GB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.334, allocations: 0 / 0.5108 GB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/1.335, allocations: 193.4 kB / 0.511 GB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/1.335, allocations: 4.938 kB / 0.511 GB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007673/1.336, allocations: 186.1 kB / 0.5112 GB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005459/1.336, allocations: 0.723 MB / 0.5119 GB, free: 10.8 MB / 330.7 MB Notification: Performance of SimCode: time 3.51e-07/1.336, allocations: 0 / 0.5119 GB, free: 10.8 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedSteadyStatePressureAndTemperature.pipe 2>&1)