Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.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.TwoVolumesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial") [: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.00166/0.00166, allocations: 173.7 kB / 7.458 MB, free: 2.488 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.018/1.018, allocations: 221.4 MB / 229.3 MB, free: 3.066 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.0008082/0.0008082, allocations: 105.2 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002096/0.002096, allocations: 0.5528 MB / 331.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.362e-06, allocations: 4 kB / 388 MB, free: 76.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06815/0.06817, allocations: 50.57 MB / 438.6 MB, free: 26.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7064/0.7746, allocations: 492.5 MB / 0.9093 GB, free: 71.93 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.7748, allocations: 79.95 kB / 0.9094 GB, free: 71.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.7256/1.5, allocations: 254.6 MB / 1.158 GB, free: 72.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.565e-05/1.501, allocations: 22.44 kB / 1.158 GB, free: 72.73 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.002168/1.503, allocations: 1.171 MB / 1.159 GB, free: 72.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/1.503, allocations: 7.875 kB / 1.159 GB, free: 72.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009864/1.504, allocations: 171.6 kB / 1.159 GB, free: 72.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000874/1.505, allocations: 0.59 MB / 1.16 GB, free: 72.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.557e-05/1.505, allocations: 165 kB / 1.16 GB, free: 71.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.609e-05/1.505, allocations: 41.31 kB / 1.16 GB, free: 71.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009108/1.506, allocations: 0.6898 MB / 1.161 GB, free: 71.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.507, allocations: 0.9915 MB / 1.162 GB, free: 71.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/1.507, allocations: 8.156 kB / 1.162 GB, free: 71.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.049e-05/1.507, allocations: 3.656 kB / 1.162 GB, free: 71.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/1.507, allocations: 37.75 kB / 1.162 GB, free: 71.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004235/1.511, allocations: 5.888 MB / 1.168 GB, free: 67.53 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/1.512, allocations: 220.9 kB / 1.168 GB, free: 67.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/1.512, allocations: 184.2 kB / 1.168 GB, free: 67.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/1.512, allocations: 258.9 kB / 1.168 GB, free: 67.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/1.512, allocations: 43.3 kB / 1.168 GB, free: 67.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 2.033e-06/1.512, allocations: 2.156 kB / 1.168 GB, free: 67.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.008103/1.52, allocations: 2.481 MB / 1.171 GB, free: 66.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/1.52, allocations: 107.2 kB / 1.171 GB, free: 66.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/1.521, allocations: 0.5421 MB / 1.171 GB, free: 66.42 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/1.521, allocations: 25.7 kB / 1.171 GB, free: 66.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/1.521, allocations: 424.2 kB / 1.172 GB, free: 66.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.465e-05/1.521, allocations: 189.2 kB / 1.172 GB, free: 66.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/1.521, allocations: 3.469 kB / 1.172 GB, free: 66.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.325e-05/1.521, allocations: 382.7 kB / 1.172 GB, free: 65.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/1.521, allocations: 252.4 kB / 1.172 GB, free: 65.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/1.522, allocations: 0.7252 MB / 1.173 GB, free: 65.13 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/1.525, allocations: 1.236 MB / 1.174 GB, free: 65.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.525, allocations: 3.812 kB / 1.174 GB, free: 65.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002237/1.528, allocations: 1.262 MB / 1.176 GB, free: 64.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/1.528, allocations: 3.844 kB / 1.176 GB, free: 64.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.528, allocations: 18.5 kB / 1.176 GB, free: 64.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007169/1.528, allocations: 244 kB / 1.176 GB, free: 64.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/1.529, allocations: 209 kB / 1.176 GB, free: 64.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008428/1.53, allocations: 0.9644 MB / 1.177 GB, free: 64.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/1.53, allocations: 44.92 kB / 1.177 GB, free: 64.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.954e-05/1.531, allocations: 98.7 kB / 1.177 GB, free: 64.4 MB / 442.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: V1.medium.p = V1.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: V1.ports[2].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [2] 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 (113): * Single equations (assignments): 112 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002053/1.531, allocations: 163.4 kB / 1.177 GB, free: 64.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/1.531, allocations: 73.19 kB / 1.177 GB, free: 64.26 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/1.533, allocations: 1.179 MB / 1.179 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.533, allocations: 9.359 kB / 1.179 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.533, allocations: 3.531 kB / 1.179 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.533, allocations: 2.406 kB / 1.179 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/1.536, allocations: 1.601 MB / 1.18 GB, free: 63.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.536, allocations: 0 / 1.18 GB, free: 63.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/1.536, allocations: 85.67 kB / 1.18 GB, free: 63.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/1.538, allocations: 280.4 kB / 1.18 GB, free: 63.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/1.538, allocations: 16.92 kB / 1.18 GB, free: 63.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007132/1.538, allocations: 0.8758 MB / 1.181 GB, free: 63.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.538, allocations: 0 / 1.181 GB, free: 63.28 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001816/1.54, allocations: 1.101 MB / 1.182 GB, free: 63.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/1.54, allocations: 203 kB / 1.183 GB, free: 62.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/1.541, allocations: 3.094 kB / 1.183 GB, free: 62.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/1.541, allocations: 34.41 kB / 1.183 GB, free: 62.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/1.541, allocations: 39.55 kB / 1.183 GB, free: 62.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/1.541, allocations: 59.23 kB / 1.183 GB, free: 62.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003414/1.542, allocations: 399.3 kB / 1.183 GB, free: 62.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001188/1.543, allocations: 379.5 kB / 1.183 GB, free: 62.83 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.001447/1.544, allocations: 1.217 MB / 1.185 GB, free: 62.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/1.545, allocations: 0.7012 MB / 1.185 GB, free: 62.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.545, allocations: 3 kB / 1.185 GB, free: 62.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005635/1.546, allocations: 296.6 kB / 1.186 GB, free: 62.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/1.547, allocations: 293.1 kB / 1.186 GB, free: 62.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/1.549, allocations: 1.135 MB / 1.187 GB, free: 62.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/1.55, allocations: 1.184 MB / 1.188 GB, free: 61.61 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-07/1.55, allocations: 3.969 kB / 1.188 GB, free: 61.61 MB / 442.7 MB Notification: Performance of Templates: time 0.02829/1.578, allocations: 22.94 MB / 1.211 GB, free: 60.8 MB / 442.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)