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+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.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",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.009629/0.009629, allocations: 184.6 kB / 7.463 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.592/2.592, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.001386/0.001386, allocations: 92.09 kB / 280.1 MB, free: 1.285 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.003503/0.003503, allocations: 0.5527 MB / 331.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4044/0.4079, allocations: 56.69 MB / 388.1 MB, free: 76.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.5801, allocations: 50.56 MB / 438.7 MB, free: 25.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.979/2.56, allocations: 492.6 MB / 0.9094 GB, free: 71.47 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004275/2.56, allocations: 75.97 kB / 0.9095 GB, free: 71.39 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 2.059/4.619, allocations: 255.8 MB / 1.159 GB, free: 72.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.142e-05/4.619, allocations: 9.781 kB / 1.159 GB, free: 72.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003631/4.623, allocations: 167.9 kB / 1.159 GB, free: 72.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/4.626, allocations: 0.5955 MB / 1.16 GB, free: 72.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005535/4.627, allocations: 157.3 kB / 1.16 GB, free: 72.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000753/4.628, allocations: 40 kB / 1.16 GB, free: 72.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004267/4.632, allocations: 0.6888 MB / 1.161 GB, free: 72.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004211/4.636, allocations: 0.9961 MB / 1.162 GB, free: 71.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-05/4.636, allocations: 6.234 kB / 1.162 GB, free: 71.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000397/4.637, allocations: 7.688 kB / 1.162 GB, free: 71.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/4.637, allocations: 31.69 kB / 1.162 GB, free: 71.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/4.652, allocations: 5.892 MB / 1.168 GB, free: 67.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/4.653, allocations: 221 kB / 1.168 GB, free: 67.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006134/4.654, allocations: 191 kB / 1.168 GB, free: 67.67 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005285/4.655, allocations: 260.1 kB / 1.168 GB, free: 67.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.225e-05/4.655, allocations: 37.64 kB / 1.168 GB, free: 67.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 7.745e-06/4.655, allocations: 0 / 1.168 GB, free: 67.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.02262/4.677, allocations: 2.494 MB / 1.171 GB, free: 66.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/4.678, allocations: 110.6 kB / 1.171 GB, free: 66.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/4.679, allocations: 0.5386 MB / 1.171 GB, free: 66.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.955e-05/4.679, allocations: 25.7 kB / 1.171 GB, free: 66.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005761/4.68, allocations: 429 kB / 1.172 GB, free: 66.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/4.68, allocations: 187.3 kB / 1.172 GB, free: 66.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/4.681, allocations: 0 / 1.172 GB, free: 66.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002838/4.681, allocations: 378.8 kB / 1.172 GB, free: 65.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008357/4.682, allocations: 250.7 kB / 1.173 GB, free: 65.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/4.683, allocations: 0.7335 MB / 1.173 GB, free: 65.3 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.007945/4.691, allocations: 1.233 MB / 1.175 GB, free: 65.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.041e-05/4.691, allocations: 3.719 kB / 1.175 GB, free: 65.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.007275/4.699, allocations: 1.26 MB / 1.176 GB, free: 65.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/4.699, allocations: 3.781 kB / 1.176 GB, free: 65.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-05/4.699, allocations: 18.06 kB / 1.176 GB, free: 65.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001874/4.701, allocations: 252.2 kB / 1.176 GB, free: 65.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/4.702, allocations: 210.9 kB / 1.176 GB, free: 65.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/4.705, allocations: 0.9603 MB / 1.177 GB, free: 64.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/4.707, allocations: 39.94 kB / 1.177 GB, free: 64.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/4.707, allocations: 101.6 kB / 1.177 GB, free: 64.57 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.0007009/4.708, allocations: 161.5 kB / 1.177 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005954/4.709, allocations: 71.59 kB / 1.178 GB, free: 64.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006695/4.715, allocations: 1.176 MB / 1.179 GB, free: 64.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/4.715, allocations: 3.844 kB / 1.179 GB, free: 64.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/4.715, allocations: 3.375 kB / 1.179 GB, free: 64.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/4.715, allocations: 6.562 kB / 1.179 GB, free: 64.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007502/4.723, allocations: 1.609 MB / 1.18 GB, free: 63.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/4.723, allocations: 0 / 1.18 GB, free: 63.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/4.724, allocations: 85.39 kB / 1.18 GB, free: 63.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0027/4.726, allocations: 268.5 kB / 1.181 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/4.727, allocations: 21.42 kB / 1.181 GB, free: 63.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/4.729, allocations: 0.8836 MB / 1.181 GB, free: 63.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/4.729, allocations: 0 / 1.181 GB, free: 63.44 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005644/4.734, allocations: 1.093 MB / 1.183 GB, free: 63.21 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006416/4.741, allocations: 1.768 MB / 1.184 GB, free: 62.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/4.742, allocations: 206.2 kB / 1.184 GB, free: 62.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005888/4.743, allocations: 3.906 kB / 1.184 GB, free: 62.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/4.744, allocations: 31.03 kB / 1.185 GB, free: 62.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/4.745, allocations: 45.83 kB / 1.185 GB, free: 62.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002955/4.745, allocations: 53.86 kB / 1.185 GB, free: 62.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001567/4.747, allocations: 400.6 kB / 1.185 GB, free: 62.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006068/4.753, allocations: 479.4 kB / 1.185 GB, free: 62.36 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.00674/4.759, allocations: 1.218 MB / 1.187 GB, free: 62.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004228/4.764, allocations: 0.703 MB / 1.187 GB, free: 62.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/4.764, allocations: 0 / 1.187 GB, free: 62.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/4.765, allocations: 304.7 kB / 1.188 GB, free: 62.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003824/4.769, allocations: 287.7 kB / 1.188 GB, free: 62.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/4.777, allocations: 1.132 MB / 1.189 GB, free: 61.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003743/4.781, allocations: 1.191 MB / 1.19 GB, free: 61.15 MB / 442.7 MB Notification: Performance of SimCode: time 4.638e-06/4.781, allocations: 0 / 1.19 GB, free: 61.15 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)