Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.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.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",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.005818/0.005818, allocations: 184.3 kB / 7.462 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.434/2.434, allocations: 221.4 MB / 229.3 MB, free: 3.324 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.001998/0.001998, allocations: 96.78 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.007691/0.007691, allocations: 0.5537 MB / 331.4 MB, free: 13.92 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4788/0.4867, allocations: 56.68 MB / 388.1 MB, free: 76.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.6638, allocations: 50.57 MB / 438.7 MB, free: 25.91 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5627/1.227, allocations: 74.41 MB / 0.5011 GB, free: 5.527 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004169/1.227, allocations: 66.59 kB / 0.5012 GB, free: 5.492 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.003545/1.231, allocations: 0.9599 MB / 0.5021 GB, free: 4.629 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.547e-05/1.231, allocations: 12 kB / 0.5021 GB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/1.231, allocations: 3.906 kB / 0.5021 GB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/1.231, allocations: 163.1 kB / 0.5023 GB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/1.231, allocations: 4 kB / 0.5023 GB, free: 4.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/1.231, allocations: 4 kB / 0.5023 GB, free: 4.406 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001234/1.231, allocations: 35.67 kB / 0.5023 GB, free: 4.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/1.232, allocations: 61.41 kB / 0.5024 GB, free: 4.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.232, allocations: 7.938 kB / 0.5024 GB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.232, allocations: 0 / 0.5024 GB, free: 4.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/1.232, allocations: 4 kB / 0.5024 GB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/1.232, allocations: 282.2 kB / 0.5026 GB, free: 4.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/1.232, allocations: 69.58 kB / 0.5027 GB, free: 3.961 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/1.233, allocations: 28.73 kB / 0.5027 GB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/1.233, allocations: 8 kB / 0.5027 GB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.233, allocations: 36.56 kB / 0.5028 GB, free: 3.891 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/1.233, allocations: 0 / 0.5028 GB, free: 3.891 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002886/1.236, allocations: 0.6907 MB / 0.5035 GB, free: 3.211 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/1.236, allocations: 59.34 kB / 0.5035 GB, free: 3.141 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/1.236, allocations: 96.81 kB / 0.5036 GB, free: 3.043 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/1.236, allocations: 25.7 kB / 0.5036 GB, free: 3.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/1.236, allocations: 99.55 kB / 0.5037 GB, free: 2.914 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/1.236, allocations: 50.48 kB / 0.5038 GB, free: 2.871 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/1.236, allocations: 0 / 0.5038 GB, free: 2.871 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/1.236, allocations: 322.8 kB / 0.5041 GB, free: 2.551 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-05/1.236, allocations: 31.5 kB / 0.5041 GB, free: 2.531 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.943e-05/1.236, allocations: 56.97 kB / 0.5042 GB, free: 2.484 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.373e-05/1.236, allocations: 35.23 kB / 0.5042 GB, free: 2.461 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/1.236, allocations: 0 / 0.5042 GB, free: 2.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009169/1.237, allocations: 254.6 kB / 0.5044 GB, free: 2.242 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.237, allocations: 8 kB / 0.5044 GB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.237, allocations: 0 / 0.5044 GB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00097/1.238, allocations: 144.4 kB / 0.5046 GB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/1.238, allocations: 19.98 kB / 0.5046 GB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002639/1.241, allocations: 1.685 MB / 0.5063 GB, free: 428 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/1.241, allocations: 3.906 kB / 0.5063 GB, free: 424 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/1.241, allocations: 4 kB / 0.5063 GB, free: 420 kB / 314.7 MB 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 0.0001076/1.241, allocations: 101 kB / 0.5064 GB, free: 312 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/1.241, allocations: 10.09 kB / 0.5064 GB, free: 304 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/1.241, allocations: 23 kB / 0.5064 GB, free: 292 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.241, allocations: 4 kB / 0.5064 GB, free: 288 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.241, allocations: 0 / 0.5064 GB, free: 288 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/1.241, allocations: 3.984 kB / 0.5064 GB, free: 284 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/1.242, allocations: 170.9 kB / 0.5066 GB, free: 88 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.242, allocations: 0 / 0.5066 GB, free: 88 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/1.242, allocations: 15.25 kB / 0.5066 GB, free: 76 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/1.244, allocations: 278.8 kB / 0.5068 GB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/1.244, allocations: 3.984 kB / 0.5068 GB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/1.246, allocations: 1.674 MB / 0.5085 GB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.246, allocations: 4 kB / 0.5085 GB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001188/1.247, allocations: 384.6 kB / 0.5088 GB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001492/1.249, allocations: 0.7992 MB / 0.5096 GB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/1.249, allocations: 81.02 kB / 0.5097 GB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/1.249, allocations: 7.984 kB / 0.5097 GB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/1.249, allocations: 0 / 0.5097 GB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/1.249, allocations: 11.05 kB / 0.5097 GB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/1.249, allocations: 0 / 0.5097 GB, free: 12.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.299e-05/1.249, allocations: 90.42 kB / 0.5098 GB, free: 12.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009671/1.25, allocations: 27.91 kB / 0.5098 GB, free: 12.85 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p2,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.0002242/1.251, allocations: 103.2 kB / 0.5099 GB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006325/1.251, allocations: 239.8 kB / 0.5102 GB, free: 12.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.251, allocations: 0 / 0.5102 GB, free: 12.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/1.252, allocations: 202.2 kB / 0.5104 GB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/1.252, allocations: 0 / 0.5104 GB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005754/1.252, allocations: 179.6 kB / 0.5105 GB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000535/1.253, allocations: 0.7276 MB / 0.5112 GB, free: 11.41 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/1.253, allocations: 0 / 0.5112 GB, free: 11.41 MB / 330.7 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1)