Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_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.1+maint.om/package.mo): time 0.003916/0.003916, allocations: 177.3 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.558/1.558, allocations: 170.6 MB / 178.4 MB, free: 15.37 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001723/0.001723, allocations: 116.3 kB / 217.7 MB, free: 8.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2866/0.2866, allocations: 37.98 MB / 294.8 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.508e-06/9.819e-06, allocations: 0 / 349.5 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1416, allocations: 48.72 MB / 398.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.414/1.556, allocations: 0.4969 GB / 0.8858 GB, free: 61.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/1.556, allocations: 91.94 kB / 0.8859 GB, free: 61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092/2.648, allocations: 232.7 MB / 1.113 GB, free: 73.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.309e-05/2.649, allocations: 22.06 kB / 1.113 GB, free: 73.48 MB / 426.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.00305/2.652, allocations: 1.107 MB / 1.114 GB, free: 73.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/2.652, allocations: 11.53 kB / 1.114 GB, free: 73.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008943/2.653, allocations: 136.4 kB / 1.114 GB, free: 73.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/2.654, allocations: 0.5522 MB / 1.115 GB, free: 72.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/2.654, allocations: 82.53 kB / 1.115 GB, free: 72.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.951e-05/2.654, allocations: 27.03 kB / 1.115 GB, free: 72.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00098/2.655, allocations: 0.5436 MB / 1.115 GB, free: 72.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/2.656, allocations: 0.7339 MB / 1.116 GB, free: 72.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/2.656, allocations: 0 / 1.116 GB, free: 72.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/2.656, allocations: 7.469 kB / 1.116 GB, free: 72.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-05/2.656, allocations: 39.84 kB / 1.116 GB, free: 72.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004573/2.661, allocations: 4.018 MB / 1.12 GB, free: 69.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/2.661, allocations: 201.9 kB / 1.12 GB, free: 69.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/2.661, allocations: 133.3 kB / 1.12 GB, free: 69.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.202e-05/2.661, allocations: 20.91 kB / 1.121 GB, free: 69.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/2.661, allocations: 40.92 kB / 1.121 GB, free: 69.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.013e-06/2.661, allocations: 0 / 1.121 GB, free: 69.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.006679/2.668, allocations: 1.412 MB / 1.122 GB, free: 69.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/2.668, allocations: 132.4 kB / 1.122 GB, free: 69.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009219/2.669, allocations: 480.8 kB / 1.123 GB, free: 69.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/2.669, allocations: 28.77 kB / 1.123 GB, free: 69.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/2.67, allocations: 343.6 kB / 1.123 GB, free: 68.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/2.67, allocations: 117.5 kB / 1.123 GB, free: 68.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/2.67, allocations: 0 / 1.123 GB, free: 68.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002518/2.67, allocations: 369.8 kB / 1.123 GB, free: 68.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/2.671, allocations: 187.9 kB / 1.124 GB, free: 68.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/2.671, allocations: 0.5035 MB / 1.124 GB, free: 68.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007613/2.672, allocations: 347.9 kB / 1.124 GB, free: 68.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/2.672, allocations: 3.688 kB / 1.124 GB, free: 68.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00167/2.674, allocations: 0.8426 MB / 1.125 GB, free: 68.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/2.674, allocations: 12.41 kB / 1.125 GB, free: 68.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/2.674, allocations: 11.81 kB / 1.125 GB, free: 68.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/2.675, allocations: 270.4 kB / 1.125 GB, free: 68.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/2.676, allocations: 133.2 kB / 1.126 GB, free: 68.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/2.677, allocations: 0.9326 MB / 1.126 GB, free: 67.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/2.677, allocations: 41.31 kB / 1.127 GB, free: 67.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.895e-05/2.678, allocations: 66.44 kB / 1.127 GB, free: 67.48 MB / 426.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.0002211/2.678, allocations: 138.1 kB / 1.127 GB, free: 67.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/2.678, allocations: 62.06 kB / 1.127 GB, free: 67.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/2.679, allocations: 0.5586 MB / 1.127 GB, free: 67.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/2.679, allocations: 3.875 kB / 1.127 GB, free: 67.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/2.679, allocations: 0 / 1.127 GB, free: 67.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/2.679, allocations: 3.906 kB / 1.127 GB, free: 67.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/2.681, allocations: 0.9699 MB / 1.128 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/2.681, allocations: 0 / 1.128 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/2.682, allocations: 190.4 kB / 1.128 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001249/2.682, allocations: 32.09 kB / 1.128 GB, free: 66.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/2.682, allocations: 10.31 kB / 1.128 GB, free: 66.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/2.684, allocations: 2.579 MB / 1.131 GB, free: 64.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/2.684, allocations: 3.938 kB / 1.131 GB, free: 64.54 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001115/2.685, allocations: 0.674 MB / 1.132 GB, free: 64.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/2.685, allocations: 173.4 kB / 1.132 GB, free: 64.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/2.685, allocations: 7.547 kB / 1.132 GB, free: 64.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/2.686, allocations: 16.81 kB / 1.132 GB, free: 64.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/2.686, allocations: 30.78 kB / 1.132 GB, free: 64.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/2.686, allocations: 34.83 kB / 1.132 GB, free: 64.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0005312/2.687, allocations: 348.2 kB / 1.132 GB, free: 64.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001779/2.688, allocations: 346.9 kB / 1.133 GB, free: 64.12 MB / 426.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.00251/2.691, allocations: 1.189 MB / 1.134 GB, free: 63.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001133/2.692, allocations: 493.9 kB / 1.134 GB, free: 63.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/2.692, allocations: 0 / 1.134 GB, free: 63.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/2.693, allocations: 399.2 kB / 1.135 GB, free: 63.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/2.695, allocations: 237.7 kB / 1.135 GB, free: 63.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007341/2.702, allocations: 2.34 MB / 1.137 GB, free: 63.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/2.703, allocations: 1.069 MB / 1.138 GB, free: 62.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.844e-06/2.703, allocations: 2.625 kB / 1.138 GB, free: 62.86 MB / 426.7 MB Notification: Performance of Templates: time 0.03457/2.738, allocations: 19.33 MB / 1.157 GB, free: 62.31 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)