Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",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.006059/0.006059, allocations: 177.4 kB / 7.454 MB, free: 2.52 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.596/2.596, allocations: 221.4 MB / 229.3 MB, free: 3.125 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.001442/0.001442, allocations: 97.55 kB / 280.1 MB, free: 1.234 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.004863/0.004863, allocations: 0.5491 MB / 331.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4478/0.4527, allocations: 56.68 MB / 388.1 MB, free: 76.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.6197, allocations: 50.57 MB / 438.7 MB, free: 25.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5106/1.13, allocations: 74.53 MB / 0.5012 GB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/1.131, allocations: 64.06 kB / 0.5013 GB, free: 5.434 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.003656/1.134, allocations: 1.046 MB / 0.5023 GB, free: 4.508 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.134, allocations: 8 kB / 0.5023 GB, free: 4.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/1.134, allocations: 11.91 kB / 0.5023 GB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/1.135, allocations: 178.9 kB / 0.5025 GB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/1.135, allocations: 4 kB / 0.5025 GB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/1.135, allocations: 4 kB / 0.5025 GB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001037/1.135, allocations: 29.88 kB / 0.5025 GB, free: 4.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/1.135, allocations: 65.14 kB / 0.5026 GB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.135, allocations: 0 / 0.5026 GB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.135, allocations: 0 / 0.5026 GB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.135, allocations: 0 / 0.5026 GB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/1.135, allocations: 286.3 kB / 0.5028 GB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/1.136, allocations: 76.77 kB / 0.5029 GB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/1.136, allocations: 25.3 kB / 0.5029 GB, free: 3.809 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/1.136, allocations: 4 kB / 0.5029 GB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/1.136, allocations: 37.98 kB / 0.503 GB, free: 3.762 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/1.136, allocations: 0 / 0.503 GB, free: 3.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002665/1.138, allocations: 0.7029 MB / 0.5037 GB, free: 3.074 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/1.138, allocations: 51.41 kB / 0.5037 GB, free: 3.012 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/1.138, allocations: 102.6 kB / 0.5038 GB, free: 2.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/1.139, allocations: 25.7 kB / 0.5038 GB, free: 2.879 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/1.139, allocations: 99.48 kB / 0.5039 GB, free: 2.781 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/1.139, allocations: 53.42 kB / 0.504 GB, free: 2.734 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/1.139, allocations: 0 / 0.504 GB, free: 2.734 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/1.139, allocations: 322.8 kB / 0.5043 GB, free: 2.414 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/1.139, allocations: 30.62 kB / 0.5043 GB, free: 2.395 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/1.139, allocations: 60.31 kB / 0.5044 GB, free: 2.348 MB / 314.7 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/1.141, allocations: 369.4 kB / 0.5047 GB, free: 2.008 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.141, allocations: 4 kB / 0.5047 GB, free: 2.004 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00148/1.143, allocations: 312.5 kB / 0.505 GB, free: 1.727 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.143, allocations: 8.031 kB / 0.505 GB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.143, allocations: 0 / 0.505 GB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/1.145, allocations: 270.2 kB / 0.5053 GB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/1.145, allocations: 19.98 kB / 0.5053 GB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/1.148, allocations: 1.852 MB / 0.5071 GB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.9e-05/1.149, allocations: 0 / 0.5071 GB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/1.149, allocations: 7.938 kB / 0.5071 GB, free: 15.61 MB / 330.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.M2 = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.T1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.p1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real p1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002386/1.149, allocations: 120.8 kB / 0.5072 GB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/1.149, allocations: 3.906 kB / 0.5073 GB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/1.149, allocations: 19.75 kB / 0.5073 GB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.149, allocations: 0 / 0.5073 GB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/1.149, allocations: 7.906 kB / 0.5073 GB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/1.149, allocations: 0 / 0.5073 GB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/1.149, allocations: 167.3 kB / 0.5074 GB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.149, allocations: 1.812 kB / 0.5074 GB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/1.149, allocations: 11.98 kB / 0.5074 GB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00205/1.151, allocations: 279.6 kB / 0.5077 GB, free: 15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/1.152, allocations: 0 / 0.5077 GB, free: 15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/1.154, allocations: 1.688 MB / 0.5094 GB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.154, allocations: 0 / 0.5094 GB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001155/1.155, allocations: 384.4 kB / 0.5097 GB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001336/1.157, allocations: 0.8032 MB / 0.5105 GB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/1.157, allocations: 85.02 kB / 0.5106 GB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/1.157, allocations: 128 / 0.5106 GB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/1.157, allocations: 4 kB / 0.5106 GB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/1.157, allocations: 11.89 kB / 0.5106 GB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/1.157, allocations: 11.8 kB / 0.5106 GB, free: 12.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.552e-05/1.157, allocations: 83.28 kB / 0.5107 GB, free: 12.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001068/1.158, allocations: 28 kB / 0.5107 GB, free: 12.03 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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: 1 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002382/1.158, allocations: 95.66 kB / 0.5108 GB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009538/1.159, allocations: 281.9 kB / 0.5111 GB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.159, allocations: 0 / 0.5111 GB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003587/1.16, allocations: 192 kB / 0.5113 GB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/1.16, allocations: 4.844 kB / 0.5113 GB, free: 11.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/1.16, allocations: 182.9 kB / 0.5115 GB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/1.161, allocations: 0.7238 MB / 0.5122 GB, free: 10.56 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/1.161, allocations: 0 / 0.5122 GB, free: 10.56 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)