Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.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.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",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.008375/0.008376, allocations: 179.2 kB / 7.457 MB, free: 2.5 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.569/2.569, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.001559/0.001559, allocations: 98.38 kB / 280.1 MB, free: 1.258 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.007854/0.007854, allocations: 0.5644 MB / 331.5 MB, free: 13.89 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5679/0.5759, allocations: 56.68 MB / 388.1 MB, free: 76.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.8062, allocations: 50.57 MB / 438.7 MB, free: 25.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.75/1.556, allocations: 74.45 MB / 0.5011 GB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004498/1.557, allocations: 62.03 kB / 0.5012 GB, free: 5.695 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.005173/1.562, allocations: 0.9702 MB / 0.5021 GB, free: 4.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.925e-05/1.562, allocations: 8 kB / 0.5021 GB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/1.562, allocations: 7.906 kB / 0.5021 GB, free: 4.805 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/1.563, allocations: 167.1 kB / 0.5023 GB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/1.563, allocations: 4 kB / 0.5023 GB, free: 4.598 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/1.563, allocations: 7.938 kB / 0.5023 GB, free: 4.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001727/1.563, allocations: 31.06 kB / 0.5023 GB, free: 4.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/1.563, allocations: 72.58 kB / 0.5024 GB, free: 4.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/1.563, allocations: 3.984 kB / 0.5024 GB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/1.563, allocations: 0 / 0.5024 GB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/1.563, allocations: 0 / 0.5024 GB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007216/1.564, allocations: 280.6 kB / 0.5027 GB, free: 4.207 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/1.564, allocations: 59.59 kB / 0.5027 GB, free: 4.156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/1.564, allocations: 37.67 kB / 0.5028 GB, free: 4.129 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/1.564, allocations: 0 / 0.5028 GB, free: 4.129 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/1.564, allocations: 34.56 kB / 0.5028 GB, free: 4.086 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/1.564, allocations: 0 / 0.5028 GB, free: 4.086 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.004474/1.569, allocations: 0.7265 MB / 0.5035 GB, free: 3.383 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.569, allocations: 59.31 kB / 0.5036 GB, free: 3.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/1.569, allocations: 97.08 kB / 0.5037 GB, free: 3.215 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/1.569, allocations: 25.7 kB / 0.5037 GB, free: 3.184 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/1.569, allocations: 83.59 kB / 0.5038 GB, free: 3.098 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.811e-05/1.569, allocations: 65.22 kB / 0.5038 GB, free: 3.039 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/1.569, allocations: 7.938 kB / 0.5038 GB, free: 3.031 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/1.57, allocations: 322.4 kB / 0.5041 GB, free: 2.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/1.57, allocations: 34.94 kB / 0.5042 GB, free: 2.691 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/1.57, allocations: 59.22 kB / 0.5042 GB, free: 2.648 MB / 314.7 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 100000.0 (200000.0 = 100000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.004705/1.575, allocations: 461.8 kB / 0.5047 GB, free: 2.203 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/1.575, allocations: 4 kB / 0.5047 GB, free: 2.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001498/1.576, allocations: 260.2 kB / 0.5049 GB, free: 1.977 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.576, allocations: 4 kB / 0.5049 GB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/1.576, allocations: 7.906 kB / 0.5049 GB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/1.578, allocations: 153 kB / 0.5051 GB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/1.578, allocations: 16 kB / 0.5051 GB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004826/1.583, allocations: 1.746 MB / 0.5068 GB, free: 76 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/1.583, allocations: 0 / 0.5068 GB, free: 76 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/1.583, allocations: 7.875 kB / 0.5068 GB, free: 72 kB / 314.7 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.0002138/1.583, allocations: 109 kB / 0.5069 GB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.144e-05/1.583, allocations: 11.91 kB / 0.5069 GB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/1.583, allocations: 22.55 kB / 0.507 GB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.583, allocations: 0 / 0.507 GB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.583, allocations: 0 / 0.507 GB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.584, allocations: 4 kB / 0.507 GB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/1.586, allocations: 0.5182 MB / 0.5075 GB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/1.586, allocations: 4 kB / 0.5075 GB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/1.586, allocations: 8.188 kB / 0.5075 GB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/1.589, allocations: 296.1 kB / 0.5078 GB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/1.589, allocations: 96 / 0.5078 GB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004739/1.594, allocations: 1.75 MB / 0.5095 GB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.467e-06/1.594, allocations: 0 / 0.5095 GB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002122/1.596, allocations: 427.4 kB / 0.5099 GB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002538/1.598, allocations: 0.8372 MB / 0.5107 GB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.599, allocations: 85.33 kB / 0.5108 GB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/1.599, allocations: 0.875 kB / 0.5108 GB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/1.599, allocations: 11.91 kB / 0.5108 GB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/1.599, allocations: 11.42 kB / 0.5108 GB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/1.599, allocations: 7.984 kB / 0.5108 GB, free: 12.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000124/1.599, allocations: 82.41 kB / 0.5109 GB, free: 12.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00198/1.601, allocations: 31.94 kB / 0.5109 GB, free: 11.99 MB / 330.7 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.000299/1.601, allocations: 91.25 kB / 0.511 GB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001517/1.603, allocations: 278.1 kB / 0.5113 GB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.603, allocations: 4.062 kB / 0.5113 GB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009833/1.604, allocations: 214.8 kB / 0.5115 GB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/1.604, allocations: 8.828 kB / 0.5115 GB, free: 11.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009655/1.605, allocations: 204.7 kB / 0.5117 GB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007876/1.606, allocations: 0.7197 MB / 0.5124 GB, free: 10.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.333e-06/1.606, allocations: 0 / 0.5124 GB, free: 10.48 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent.pipe 2>&1)