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+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.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",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.007117/0.007117, allocations: 185.6 kB / 7.458 MB, free: 2.512 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.902/1.902, allocations: 221.4 MB / 229.3 MB, free: 2.996 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.00128/0.00128, allocations: 97.09 kB / 280.1 MB, free: 1.254 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.006827/0.006827, allocations: 0.5567 MB / 331.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3903/0.3973, allocations: 56.69 MB / 388.1 MB, free: 76.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.5422, allocations: 50.57 MB / 438.7 MB, free: 25.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.887/2.429, allocations: 492.5 MB / 0.9094 GB, free: 72.24 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004401/2.43, allocations: 78.97 kB / 0.9095 GB, free: 72.16 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 1.941/4.371, allocations: 255.8 MB / 1.159 GB, free: 72.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.067e-05/4.371, allocations: 8.219 kB / 1.159 GB, free: 72.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/4.373, allocations: 169.5 kB / 1.159 GB, free: 72.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/4.376, allocations: 0.5912 MB / 1.16 GB, free: 72.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/4.376, allocations: 158.3 kB / 1.16 GB, free: 71.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/4.376, allocations: 41.34 kB / 1.16 GB, free: 71.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001638/4.378, allocations: 0.692 MB / 1.161 GB, free: 71.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/4.38, allocations: 0.9924 MB / 1.162 GB, free: 71.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/4.38, allocations: 5.125 kB / 1.162 GB, free: 71.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/4.38, allocations: 3.812 kB / 1.162 GB, free: 71.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.313e-05/4.38, allocations: 45.83 kB / 1.162 GB, free: 71.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00937/4.389, allocations: 5.887 MB / 1.168 GB, free: 67.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/4.39, allocations: 224.7 kB / 1.168 GB, free: 67.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/4.39, allocations: 185.8 kB / 1.168 GB, free: 67.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/4.39, allocations: 258.9 kB / 1.168 GB, free: 67.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/4.391, allocations: 41.45 kB / 1.168 GB, free: 67.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 6.072e-06/4.391, allocations: 3.312 kB / 1.168 GB, free: 67.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.01719/4.408, allocations: 2.485 MB / 1.171 GB, free: 66.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/4.408, allocations: 113 kB / 1.171 GB, free: 66.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/4.41, allocations: 0.5385 MB / 1.171 GB, free: 66.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001563/4.41, allocations: 25.7 kB / 1.171 GB, free: 66.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005452/4.41, allocations: 429.1 kB / 1.172 GB, free: 66.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/4.411, allocations: 188.1 kB / 1.172 GB, free: 66.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/4.411, allocations: 0 / 1.172 GB, free: 66.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002467/4.411, allocations: 378.7 kB / 1.172 GB, free: 65.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007165/4.412, allocations: 252.3 kB / 1.173 GB, free: 65.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/4.413, allocations: 0.7302 MB / 1.173 GB, free: 65.18 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.008537/4.422, allocations: 1.24 MB / 1.174 GB, free: 65.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.045e-05/4.422, allocations: 3.656 kB / 1.175 GB, free: 65.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.005685/4.428, allocations: 1.261 MB / 1.176 GB, free: 64.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/4.428, allocations: 10.97 kB / 1.176 GB, free: 64.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-05/4.428, allocations: 18.11 kB / 1.176 GB, free: 64.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/4.429, allocations: 240.6 kB / 1.176 GB, free: 64.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/4.43, allocations: 211.6 kB / 1.176 GB, free: 64.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/4.432, allocations: 0.9688 MB / 1.177 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/4.434, allocations: 43.55 kB / 1.177 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/4.434, allocations: 98.95 kB / 1.177 GB, free: 64.45 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.0006012/4.435, allocations: 151 kB / 1.177 GB, free: 64.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/4.435, allocations: 76.25 kB / 1.177 GB, free: 64.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006217/4.442, allocations: 1.176 MB / 1.179 GB, free: 64.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/4.442, allocations: 8.75 kB / 1.179 GB, free: 64.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/4.442, allocations: 0 / 1.179 GB, free: 64.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/4.442, allocations: 6.281 kB / 1.179 GB, free: 64.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00734/4.449, allocations: 1.61 MB / 1.18 GB, free: 63.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/4.449, allocations: 3.219 kB / 1.18 GB, free: 63.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/4.45, allocations: 76.94 kB / 1.18 GB, free: 63.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/4.452, allocations: 272 kB / 1.181 GB, free: 63.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/4.452, allocations: 18.2 kB / 1.181 GB, free: 63.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/4.454, allocations: 0.8811 MB / 1.181 GB, free: 63.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/4.454, allocations: 1.125 kB / 1.181 GB, free: 63.32 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003405/4.457, allocations: 1.098 MB / 1.183 GB, free: 63.09 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003877/4.461, allocations: 1.768 MB / 1.184 GB, free: 62.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008264/4.462, allocations: 200.3 kB / 1.184 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/4.462, allocations: 10.75 kB / 1.184 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/4.463, allocations: 28.09 kB / 1.184 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/4.463, allocations: 38.05 kB / 1.185 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/4.463, allocations: 57.33 kB / 1.185 GB, free: 62.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0008801/4.464, allocations: 397.6 kB / 1.185 GB, free: 62.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003701/4.468, allocations: 486.3 kB / 1.185 GB, free: 62.26 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.003327/4.471, allocations: 1.215 MB / 1.187 GB, free: 62.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002404/4.474, allocations: 0.7022 MB / 1.187 GB, free: 62.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/4.474, allocations: 3.406 kB / 1.187 GB, free: 62.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008316/4.474, allocations: 301 kB / 1.188 GB, free: 62.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/4.477, allocations: 292 kB / 1.188 GB, free: 62.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/4.48, allocations: 1.127 MB / 1.189 GB, free: 61.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/4.481, allocations: 1.192 MB / 1.19 GB, free: 61.05 MB / 442.7 MB Notification: Performance of SimCode: time 2.054e-06/4.481, allocations: 3 kB / 1.19 GB, free: 61.05 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)