Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.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.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") [: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.00223/0.00223, 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.048/1.048, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.0008428/0.0008427, allocations: 101.4 kB / 280.1 MB, free: 1.316 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002156/0.002156, allocations: 0.5603 MB / 331.4 MB, free: 13.96 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.699e-06/4.719e-06, allocations: 0 / 388 MB, free: 76.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06692/0.06694, allocations: 50.56 MB / 438.6 MB, free: 26.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7072/0.7742, allocations: 492.6 MB / 0.9093 GB, free: 72.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.7744, allocations: 76.61 kB / 0.9094 GB, free: 72.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.7195/1.494, allocations: 254.6 MB / 1.158 GB, free: 72.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.636e-05/1.494, allocations: 19.33 kB / 1.158 GB, free: 72.82 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.002103/1.496, allocations: 1.171 MB / 1.159 GB, free: 72.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/1.496, allocations: 6.938 kB / 1.159 GB, free: 72.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/1.497, allocations: 167.5 kB / 1.159 GB, free: 72.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008664/1.498, allocations: 0.595 MB / 1.16 GB, free: 72.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.486e-05/1.498, allocations: 161.8 kB / 1.16 GB, free: 72.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.142e-05/1.498, allocations: 37.66 kB / 1.16 GB, free: 72.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000929/1.499, allocations: 0.6953 MB / 1.161 GB, free: 72.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.5, allocations: 0.9863 MB / 1.162 GB, free: 71.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/1.5, allocations: 9.531 kB / 1.162 GB, free: 71.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.118e-05/1.5, allocations: 3.781 kB / 1.162 GB, free: 71.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/1.5, allocations: 36.17 kB / 1.162 GB, free: 71.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/1.505, allocations: 5.895 MB / 1.168 GB, free: 67.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/1.505, allocations: 221.5 kB / 1.168 GB, free: 67.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/1.505, allocations: 180.9 kB / 1.168 GB, free: 67.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/1.505, allocations: 264.2 kB / 1.168 GB, free: 67.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/1.505, allocations: 40.05 kB / 1.168 GB, free: 67.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 1.784e-06/1.505, allocations: 2.766 kB / 1.168 GB, free: 67.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.008125/1.513, allocations: 2.494 MB / 1.171 GB, free: 66.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/1.513, allocations: 108.1 kB / 1.171 GB, free: 66.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/1.514, allocations: 0.5428 MB / 1.171 GB, free: 66.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/1.514, allocations: 25.7 kB / 1.171 GB, free: 66.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/1.514, allocations: 423 kB / 1.172 GB, free: 66.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.418e-05/1.514, allocations: 184.4 kB / 1.172 GB, free: 66.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/1.514, allocations: 0 / 1.172 GB, free: 66.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.401e-05/1.514, allocations: 381.4 kB / 1.172 GB, free: 65.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/1.515, allocations: 256.1 kB / 1.173 GB, free: 65.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/1.515, allocations: 0.7313 MB / 1.173 GB, free: 65.22 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.003684/1.519, allocations: 1.237 MB / 1.174 GB, free: 65.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.519, allocations: 8.5 kB / 1.174 GB, free: 65.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002327/1.521, allocations: 1.26 MB / 1.176 GB, free: 65.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.521, allocations: 3.688 kB / 1.176 GB, free: 65.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/1.521, allocations: 18.53 kB / 1.176 GB, free: 65.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007466/1.522, allocations: 247.8 kB / 1.176 GB, free: 65.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/1.523, allocations: 211.2 kB / 1.176 GB, free: 65.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008745/1.523, allocations: 0.9643 MB / 1.177 GB, free: 64.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006751/1.524, allocations: 47.22 kB / 1.177 GB, free: 64.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.524, allocations: 92.66 kB / 1.177 GB, free: 64.49 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.0002054/1.524, allocations: 153.6 kB / 1.177 GB, free: 64.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/1.525, allocations: 75.34 kB / 1.177 GB, free: 64.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/1.527, allocations: 1.174 MB / 1.179 GB, free: 64.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.527, allocations: 8 kB / 1.179 GB, free: 64.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.527, allocations: 3.125 kB / 1.179 GB, free: 64.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.527, allocations: 0 / 1.179 GB, free: 64.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/1.53, allocations: 1.611 MB / 1.18 GB, free: 63.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.53, allocations: 6.688 kB / 1.18 GB, free: 63.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/1.53, allocations: 80.62 kB / 1.18 GB, free: 63.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/1.531, allocations: 283.1 kB / 1.181 GB, free: 63.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/1.531, allocations: 17.17 kB / 1.181 GB, free: 63.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007405/1.532, allocations: 0.8752 MB / 1.181 GB, free: 63.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.532, allocations: 0 / 1.181 GB, free: 63.36 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001843/1.534, allocations: 1.099 MB / 1.182 GB, free: 63.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/1.534, allocations: 206.6 kB / 1.183 GB, free: 63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/1.534, allocations: 3.062 kB / 1.183 GB, free: 63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/1.535, allocations: 33.25 kB / 1.183 GB, free: 63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.359e-05/1.535, allocations: 34.94 kB / 1.183 GB, free: 63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/1.535, allocations: 57.53 kB / 1.183 GB, free: 63 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.000324/1.535, allocations: 404.9 kB / 1.183 GB, free: 62.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001155/1.537, allocations: 379 kB / 1.184 GB, free: 62.9 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.00157/1.538, allocations: 1.217 MB / 1.185 GB, free: 62.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/1.539, allocations: 0.7001 MB / 1.185 GB, free: 62.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.539, allocations: 3 kB / 1.185 GB, free: 62.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005841/1.54, allocations: 302.8 kB / 1.186 GB, free: 62.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/1.541, allocations: 278.3 kB / 1.186 GB, free: 62.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/1.543, allocations: 1.134 MB / 1.187 GB, free: 62.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008782/1.544, allocations: 1.179 MB / 1.188 GB, free: 61.68 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/1.544, allocations: 0 / 1.188 GB, free: 61.68 MB / 442.7 MB Notification: Performance of Templates: time 0.02735/1.571, allocations: 22.96 MB / 1.211 GB, free: 60.91 MB / 442.7 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)