Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [: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.005103/0.005104, allocations: 180.3 kB / 7.456 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.324/1.324, allocations: 194.2 MB / 202.1 MB, free: 8.723 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.001696/0.001696, allocations: 124.3 kB / 247.1 MB, free: 6.348 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.1814/0.1814, allocations: 39.94 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.743e-06/6.773e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1228, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.296, allocations: 0.5035 GB / 0.9407 GB, free: 91.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/1.297, allocations: 94.84 kB / 0.9408 GB, free: 91.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.6746/1.971, allocations: 231.3 MB / 1.167 GB, free: 44 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.696e-05/1.971, allocations: 16 kB / 1.167 GB, free: 43.98 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.002414/1.974, allocations: 1.104 MB / 1.168 GB, free: 42.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.974, allocations: 8.031 kB / 1.168 GB, free: 42.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007926/1.975, allocations: 131.1 kB / 1.168 GB, free: 42.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008761/1.976, allocations: 0.5592 MB / 1.168 GB, free: 42.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/1.976, allocations: 88.31 kB / 1.169 GB, free: 42.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.238e-05/1.976, allocations: 28 kB / 1.169 GB, free: 41.99 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007422/1.977, allocations: 0.5372 MB / 1.169 GB, free: 41.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008707/1.977, allocations: 0.7386 MB / 1.17 GB, free: 40.64 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/1.977, allocations: 7.938 kB / 1.17 GB, free: 40.63 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/1.978, allocations: 0 / 1.17 GB, free: 40.63 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/1.978, allocations: 44.98 kB / 1.17 GB, free: 40.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/1.981, allocations: 3.998 MB / 1.174 GB, free: 36.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/1.981, allocations: 202.4 kB / 1.174 GB, free: 36.19 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/1.982, allocations: 137.3 kB / 1.174 GB, free: 36.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/1.982, allocations: 24.89 kB / 1.174 GB, free: 36.03 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/1.982, allocations: 34.8 kB / 1.174 GB, free: 35.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/1.982, allocations: 0 / 1.174 GB, free: 35.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.004734/1.986, allocations: 1.415 MB / 1.176 GB, free: 34.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/1.986, allocations: 132.5 kB / 1.176 GB, free: 34.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/1.987, allocations: 478.1 kB / 1.176 GB, free: 33.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/1.987, allocations: 25.7 kB / 1.176 GB, free: 33.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/1.987, allocations: 342.7 kB / 1.176 GB, free: 33.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/1.987, allocations: 126.3 kB / 1.177 GB, free: 33.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/1.987, allocations: 0 / 1.177 GB, free: 33.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.31e-05/1.987, allocations: 370.8 kB / 1.177 GB, free: 32.99 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/1.987, allocations: 181.5 kB / 1.177 GB, free: 32.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/1.988, allocations: 0.5122 MB / 1.178 GB, free: 32.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/1.988, allocations: 339.4 kB / 1.178 GB, free: 31.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.988, allocations: 4 kB / 1.178 GB, free: 31.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001239/1.99, allocations: 0.8368 MB / 1.179 GB, free: 30.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.99, allocations: 8 kB / 1.179 GB, free: 30.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.99, allocations: 12 kB / 1.179 GB, free: 30.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/1.991, allocations: 280 kB / 1.179 GB, free: 30.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/1.991, allocations: 131.8 kB / 1.179 GB, free: 30.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008702/1.992, allocations: 0.9425 MB / 1.18 GB, free: 29.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/1.993, allocations: 40.09 kB / 1.18 GB, free: 29.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/1.993, allocations: 60 kB / 1.18 GB, free: 29.47 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * Single equations (assignments): 71 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.993, allocations: 140.6 kB / 1.18 GB, free: 29.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.785e-05/1.993, allocations: 67.23 kB / 1.18 GB, free: 29.26 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/1.994, allocations: 0.55 MB / 1.181 GB, free: 28.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.994, allocations: 4 kB / 1.181 GB, free: 28.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.994, allocations: 0 / 1.181 GB, free: 28.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.994, allocations: 3.984 kB / 1.181 GB, free: 28.69 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/1.995, allocations: 0.9716 MB / 1.182 GB, free: 27.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.995, allocations: 0 / 1.182 GB, free: 27.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009562/1.996, allocations: 191.7 kB / 1.182 GB, free: 27.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.924e-05/1.996, allocations: 32.78 kB / 1.182 GB, free: 27.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/1.996, allocations: 11.98 kB / 1.182 GB, free: 27.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/1.998, allocations: 2.572 MB / 1.185 GB, free: 24.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.998, allocations: 0 / 1.185 GB, free: 24.64 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007496/1.998, allocations: 0.6776 MB / 1.185 GB, free: 23.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/1.999, allocations: 172.5 kB / 1.185 GB, free: 23.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.999, allocations: 7.984 kB / 1.185 GB, free: 23.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/1.999, allocations: 15.98 kB / 1.185 GB, free: 23.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/1.999, allocations: 27.88 kB / 1.185 GB, free: 23.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/1.999, allocations: 43.92 kB / 1.186 GB, free: 23.65 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003/2, allocations: 350.9 kB / 1.186 GB, free: 23.31 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001112/2.001, allocations: 343.8 kB / 1.186 GB, free: 22.98 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00157/2.002, allocations: 1.173 MB / 1.187 GB, free: 21.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007708/2.003, allocations: 488.4 kB / 1.188 GB, free: 21.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/2.003, allocations: 0 / 1.188 GB, free: 21.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009996/2.004, allocations: 402.8 kB / 1.188 GB, free: 21.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/2.005, allocations: 221.8 kB / 1.188 GB, free: 20.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006053/2.011, allocations: 2.351 MB / 1.191 GB, free: 18.49 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007247/2.012, allocations: 1.066 MB / 1.192 GB, free: 17.4 MB / 474.7 MB Notification: Performance of SimCode: time 4.11e-07/2.012, allocations: 0 / 1.192 GB, free: 17.4 MB / 474.7 MB Notification: Performance of Templates: time 0.2195/2.231, allocations: 19.32 MB / 1.211 GB, free: 131.7 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)