Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",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 3.2.3+maint.om/package.mo): time 0.001779/0.001779, allocations: 190.3 kB / 7.802 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 87.06 kB / 261.4 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2338/0.2338, allocations: 43.48 MB / 352.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2497/0.4836, allocations: 64.98 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.9023, allocations: 58.84 MB / 476.7 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.926, allocations: 406 MB / 0.862 GB, free: 173 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/1.927, allocations: 87.34 kB / 0.8621 GB, free: 172.9 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.7515/2.678, allocations: 193.5 MB / 1.051 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/2.678, allocations: 11.38 kB / 1.051 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/2.679, allocations: 115.9 kB / 1.051 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/2.681, allocations: 0.7868 MB / 1.052 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/2.682, allocations: 93.11 kB / 1.052 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/2.682, allocations: 39.88 kB / 1.052 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001974/2.684, allocations: 1.103 MB / 1.053 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/2.686, allocations: 1.12 MB / 1.054 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/2.686, allocations: 0 / 1.054 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/2.686, allocations: 3.344 kB / 1.054 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/2.686, allocations: 86.19 kB / 1.054 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008701/2.695, allocations: 4.589 MB / 1.059 GB, free: 98.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/2.696, allocations: 496.2 kB / 1.059 GB, free: 98.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/2.697, allocations: 426.5 kB / 1.06 GB, free: 98.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003185/2.7, allocations: 2.579 MB / 1.062 GB, free: 96.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/2.7, allocations: 45.34 kB / 1.062 GB, free: 96.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.504e-06/2.7, allocations: 0 / 1.062 GB, free: 96.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.008835/2.709, allocations: 3.076 MB / 1.065 GB, free: 96.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/2.709, allocations: 161.1 kB / 1.065 GB, free: 96.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008335/2.71, allocations: 0.6429 MB / 1.066 GB, free: 96.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/2.71, allocations: 29.17 kB / 1.066 GB, free: 95.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/2.71, allocations: 388.3 kB / 1.066 GB, free: 95.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/2.71, allocations: 189.4 kB / 1.067 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/2.71, allocations: 0 / 1.067 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001434/2.71, allocations: 387.8 kB / 1.067 GB, free: 95.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/2.711, allocations: 443.3 kB / 1.067 GB, free: 95.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007806/2.712, allocations: 0.6646 MB / 1.068 GB, free: 95.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007314/2.719, allocations: 1.704 MB / 1.07 GB, free: 95.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/2.719, allocations: 7.625 kB / 1.07 GB, free: 95.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.009517/2.729, allocations: 2.631 MB / 1.072 GB, free: 94.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008119/2.729, allocations: 2.443 MB / 1.075 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/2.73, allocations: 11.03 kB / 1.075 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/2.731, allocations: 432 kB / 1.075 GB, free: 92.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008343/2.732, allocations: 179.4 kB / 1.075 GB, free: 92.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003986/2.736, allocations: 3.184 MB / 1.078 GB, free: 90.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/2.737, allocations: 38.25 kB / 1.078 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/2.737, allocations: 50.69 kB / 1.078 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/2.737, allocations: 3.875 kB / 1.078 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009344/2.747, allocations: 2.427 MB / 1.081 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/2.747, allocations: 7.875 kB / 1.081 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009507/2.748, allocations: 389.8 kB / 1.081 GB, free: 89.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008296/2.749, allocations: 186.3 kB / 1.081 GB, free: 89.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/2.752, allocations: 2.989 MB / 1.084 GB, free: 87.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/2.753, allocations: 36.84 kB / 1.084 GB, free: 87.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/2.753, allocations: 48.16 kB / 1.084 GB, free: 87.63 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003953/2.753, allocations: 133.7 kB / 1.084 GB, free: 87.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/2.754, allocations: 81.22 kB / 1.085 GB, free: 87.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004139/2.758, allocations: 1.579 MB / 1.086 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/2.758, allocations: 6.656 kB / 1.086 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/2.758, allocations: 3.719 kB / 1.086 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/2.758, allocations: 3.703 kB / 1.086 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00559/2.763, allocations: 2.461 MB / 1.089 GB, free: 86.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/2.763, allocations: 3.609 kB / 1.089 GB, free: 86.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/2.764, allocations: 99.56 kB / 1.089 GB, free: 86.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001104/2.765, allocations: 426.6 kB / 1.089 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.316e-05/2.765, allocations: 15.28 kB / 1.089 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003487/2.769, allocations: 3.114 MB / 1.092 GB, free: 84.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/2.769, allocations: 0 / 1.092 GB, free: 84.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004331/2.773, allocations: 1.972 MB / 1.094 GB, free: 84.24 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00494/2.778, allocations: 2.913 MB / 1.097 GB, free: 83.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/2.779, allocations: 288.6 kB / 1.097 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/2.78, allocations: 3.188 kB / 1.097 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/2.781, allocations: 41.5 kB / 1.097 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/2.781, allocations: 47.14 kB / 1.097 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/2.781, allocations: 37.77 kB / 1.097 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0008032/2.782, allocations: 489.3 kB / 1.098 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005508/2.787, allocations: 0.9705 MB / 1.099 GB, free: 83.11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003404/2.791, allocations: 0.8363 MB / 1.099 GB, free: 82.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004169/2.795, allocations: 1.84 MB / 1.101 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/2.795, allocations: 0 / 1.101 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/2.796, allocations: 0.5604 MB / 1.102 GB, free: 82.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/2.798, allocations: 310.9 kB / 1.102 GB, free: 82.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/2.802, allocations: 1.483 MB / 1.104 GB, free: 82.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009816/2.803, allocations: 1.195 MB / 1.105 GB, free: 81.46 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/2.803, allocations: 5.719 kB / 1.105 GB, free: 81.46 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)