Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") [: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.001608/0.001608, allocations: 177.2 kB / 7.461 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.015/1.015, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0008777/0.0008776, allocations: 98.31 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002315/0.002315, allocations: 0.551 MB / 331.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.679e-06/4.689e-06, allocations: 0 / 388 MB, free: 76.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06474/0.06476, allocations: 50.57 MB / 438.6 MB, free: 26.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7104/0.7752, allocations: 492.5 MB / 0.9093 GB, free: 71.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001515/0.7754, allocations: 75.95 kB / 0.9094 GB, free: 71.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.7244/1.5, allocations: 254.9 MB / 1.158 GB, free: 72.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.459e-05/1.5, allocations: 21.75 kB / 1.158 GB, free: 72.9 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002033/1.502, allocations: 1.169 MB / 1.159 GB, free: 72.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/1.502, allocations: 10.69 kB / 1.16 GB, free: 72.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009916/1.503, allocations: 173.9 kB / 1.16 GB, free: 72.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008738/1.504, allocations: 0.5926 MB / 1.16 GB, free: 72.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-05/1.504, allocations: 162.8 kB / 1.16 GB, free: 72.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.404e-05/1.504, allocations: 40.88 kB / 1.16 GB, free: 72.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009336/1.505, allocations: 0.6895 MB / 1.161 GB, free: 72.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/1.506, allocations: 0.9917 MB / 1.162 GB, free: 71.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/1.506, allocations: 8.281 kB / 1.162 GB, free: 71.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/1.506, allocations: 3.938 kB / 1.162 GB, free: 71.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/1.506, allocations: 35.97 kB / 1.162 GB, free: 71.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004117/1.51, allocations: 5.891 MB / 1.168 GB, free: 67.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/1.511, allocations: 225.3 kB / 1.168 GB, free: 67.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/1.511, allocations: 184.8 kB / 1.168 GB, free: 67.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/1.511, allocations: 253.3 kB / 1.169 GB, free: 67.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/1.511, allocations: 45.17 kB / 1.169 GB, free: 67.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/1.511, allocations: 0 / 1.169 GB, free: 67.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.00803/1.519, allocations: 2.494 MB / 1.171 GB, free: 66.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/1.519, allocations: 106.8 kB / 1.171 GB, free: 66.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/1.52, allocations: 0.5392 MB / 1.172 GB, free: 66.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/1.52, allocations: 25.7 kB / 1.172 GB, free: 66.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/1.52, allocations: 426.8 kB / 1.172 GB, free: 66.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.199e-05/1.52, allocations: 188.3 kB / 1.172 GB, free: 66.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/1.52, allocations: 0 / 1.172 GB, free: 66.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.976e-05/1.52, allocations: 381.6 kB / 1.173 GB, free: 65.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/1.52, allocations: 253.9 kB / 1.173 GB, free: 65.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/1.521, allocations: 0.7308 MB / 1.174 GB, free: 65.3 MB / 442.7 MB Notification: The following equation is consistent and got removed from the initialization problem: $DER.V1.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.003325/1.524, allocations: 1.052 MB / 1.175 GB, free: 65.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.524, allocations: 3.906 kB / 1.175 GB, free: 65.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002298/1.526, allocations: 1.309 MB / 1.176 GB, free: 65.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/1.526, allocations: 13.25 kB / 1.176 GB, free: 65.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.526, allocations: 13.66 kB / 1.176 GB, free: 65.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/1.528, allocations: 416.9 kB / 1.176 GB, free: 65.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/1.528, allocations: 184.5 kB / 1.176 GB, free: 65.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/1.529, allocations: 1.164 MB / 1.178 GB, free: 64.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/1.53, allocations: 45.64 kB / 1.178 GB, free: 64.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.814e-05/1.53, allocations: 99.12 kB / 1.178 GB, free: 64.55 MB / 442.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.V1.medium.p = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0001511/1.53, allocations: 148.6 kB / 1.178 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/1.53, allocations: 73.69 kB / 1.178 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/1.533, allocations: 1.174 MB / 1.179 GB, free: 64.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.533, allocations: 6.688 kB / 1.179 GB, free: 64.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.533, allocations: 3.594 kB / 1.179 GB, free: 64.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/1.533, allocations: 3.656 kB / 1.179 GB, free: 64.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/1.536, allocations: 1.607 MB / 1.181 GB, free: 63.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.536, allocations: 0 / 1.181 GB, free: 63.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/1.536, allocations: 85.58 kB / 1.181 GB, free: 63.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/1.537, allocations: 275.3 kB / 1.181 GB, free: 63.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/1.537, allocations: 19.23 kB / 1.181 GB, free: 63.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007658/1.538, allocations: 0.8795 MB / 1.182 GB, free: 63.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.538, allocations: 2.75 kB / 1.182 GB, free: 63.42 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001958/1.54, allocations: 1.091 MB / 1.183 GB, free: 63.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/1.54, allocations: 207.6 kB / 1.183 GB, free: 63.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/1.54, allocations: 0 / 1.183 GB, free: 63.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/1.541, allocations: 31.55 kB / 1.183 GB, free: 63.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/1.541, allocations: 42.08 kB / 1.183 GB, free: 63.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/1.541, allocations: 56.62 kB / 1.183 GB, free: 63.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003769/1.541, allocations: 400.4 kB / 1.184 GB, free: 62.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001343/1.543, allocations: 383 kB / 1.184 GB, free: 62.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001667/1.545, allocations: 1.217 MB / 1.185 GB, free: 62.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001175/1.546, allocations: 0.6863 MB / 1.186 GB, free: 62.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.546, allocations: 6.875 kB / 1.186 GB, free: 62.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006/1.546, allocations: 300.2 kB / 1.186 GB, free: 62.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/1.548, allocations: 285 kB / 1.186 GB, free: 62.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/1.549, allocations: 1.127 MB / 1.188 GB, free: 62.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008314/1.55, allocations: 1.177 MB / 1.189 GB, free: 61.76 MB / 442.7 MB Notification: Performance of SimCode: time 2.91e-07/1.55, allocations: 0 / 1.189 GB, free: 61.76 MB / 442.7 MB Notification: Performance of Templates: time 0.02689/1.577, allocations: 23.31 MB / 1.211 GB, free: 60.95 MB / 442.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)