Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") [: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.2+maint.om/package.mo): time 0.005298/0.005298, allocations: 183.2 kB / 7.459 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.484/1.484, allocations: 194.2 MB / 202.1 MB, free: 8.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001719/0.001719, allocations: 121.7 kB / 247.1 MB, free: 6.266 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1868/0.1868, allocations: 39.95 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.181e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1003, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8222/0.9226, allocations: 347.1 MB / 0.7761 GB, free: 64.47 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.9229, allocations: 88.81 kB / 0.7762 GB, free: 64.43 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.5088/1.432, allocations: 128.8 MB / 0.902 GB, free: 126.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.739e-05/1.432, allocations: 17.41 kB / 0.902 GB, free: 126.4 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002531/1.434, allocations: 0.8953 MB / 0.9029 GB, free: 125.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.434, allocations: 9.281 kB / 0.9029 GB, free: 125.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006145/1.435, allocations: 95.02 kB / 0.903 GB, free: 125.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/1.436, allocations: 0.5516 MB / 0.9036 GB, free: 125.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.437, allocations: 80.41 kB / 0.9036 GB, free: 125.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/1.437, allocations: 27.72 kB / 0.9037 GB, free: 125.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001179/1.438, allocations: 0.5434 MB / 0.9042 GB, free: 124.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/1.439, allocations: 0.7391 MB / 0.9049 GB, free: 124.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/1.439, allocations: 5.5 kB / 0.9049 GB, free: 124.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/1.439, allocations: 3.906 kB / 0.9049 GB, free: 124.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.217e-05/1.439, allocations: 42.61 kB / 0.905 GB, free: 124.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/1.444, allocations: 4.191 MB / 0.9091 GB, free: 120.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/1.444, allocations: 201.3 kB / 0.9092 GB, free: 120.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/1.445, allocations: 145.9 kB / 0.9094 GB, free: 120.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/1.446, allocations: 1.494 MB / 0.9108 GB, free: 118.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/1.446, allocations: 38.47 kB / 0.9109 GB, free: 118.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/1.446, allocations: 0 / 0.9109 GB, free: 118.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.001815/1.448, allocations: 0.7573 MB / 0.9116 GB, free: 117.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/1.448, allocations: 128.5 kB / 0.9117 GB, free: 117.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/1.449, allocations: 0.5304 MB / 0.9123 GB, free: 117.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/1.449, allocations: 25.7 kB / 0.9123 GB, free: 117.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/1.449, allocations: 397.2 kB / 0.9127 GB, free: 116.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/1.449, allocations: 78.94 kB / 0.9127 GB, free: 116.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/1.449, allocations: 0 / 0.9127 GB, free: 116.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.312e-05/1.449, allocations: 370.8 kB / 0.9131 GB, free: 116.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/1.449, allocations: 149.5 kB / 0.9132 GB, free: 116.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/1.45, allocations: 0.534 MB / 0.9138 GB, free: 115.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/1.45, allocations: 259.7 kB / 0.914 GB, free: 115.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.45, allocations: 4 kB / 0.914 GB, free: 115.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009256/1.451, allocations: 0.6393 MB / 0.9146 GB, free: 114.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.451, allocations: 8 kB / 0.9146 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.451, allocations: 12 kB / 0.9147 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/1.451, allocations: 20 kB / 0.9147 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007764/1.452, allocations: 212.1 kB / 0.9149 GB, free: 114.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/1.452, allocations: 35.86 kB / 0.9149 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005811/1.453, allocations: 31.89 kB / 0.9149 GB, free: 114.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/1.453, allocations: 40 kB / 0.915 GB, free: 114.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000118/1.453, allocations: 140.7 kB / 0.9151 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/1.453, allocations: 59.25 kB / 0.9152 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/1.453, allocations: 272.1 kB / 0.9154 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/1.453, allocations: 0 / 0.9154 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.453, allocations: 0 / 0.9154 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.453, allocations: 4 kB / 0.9154 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/1.455, allocations: 0.7761 MB / 0.9162 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.455, allocations: 0 / 0.9162 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/1.455, allocations: 46.05 kB / 0.9162 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/1.455, allocations: 24.89 kB / 0.9163 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/1.455, allocations: 8.109 kB / 0.9163 GB, free: 112.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003122/1.455, allocations: 0.5639 MB / 0.9168 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.455, allocations: 4 kB / 0.9168 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005034/1.456, allocations: 0.4934 MB / 0.9173 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/1.456, allocations: 172.3 kB / 0.9175 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.534e-05/1.456, allocations: 4 kB / 0.9175 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/1.456, allocations: 23.89 kB / 0.9175 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/1.456, allocations: 19.92 kB / 0.9175 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/1.456, allocations: 11.98 kB / 0.9175 GB, free: 111.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003476/1.457, allocations: 391.1 kB / 0.9179 GB, free: 111.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008074/1.458, allocations: 195.9 kB / 0.9181 GB, free: 110.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005311/1.458, allocations: 328.5 kB / 0.9184 GB, free: 110.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004532/1.459, allocations: 362.6 kB / 0.9187 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.459, allocations: 4.438 kB / 0.9187 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/1.459, allocations: 92.05 kB / 0.9188 GB, free: 110.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/1.46, allocations: 214.9 kB / 0.919 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/1.461, allocations: 0.7621 MB / 0.9198 GB, free: 109.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/1.462, allocations: 0.9952 MB / 0.9208 GB, free: 108.1 MB / 474.7 MB Notification: Performance of SimCode: time 5.21e-07/1.462, allocations: 0 / 0.9208 GB, free: 108.1 MB / 474.7 MB Notification: Performance of Templates: time 0.01643/1.478, allocations: 10.05 MB / 0.9306 GB, free: 98.18 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)