Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001114/0.001114, allocations: 194 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 91.23 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 45.15 MB / 383.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.194e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1264, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.252/1.378, allocations: 0.5111 GB / 1.015 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.379, allocations: 88.77 kB / 1.015 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.7019/2.081, allocations: 218.6 MB / 1.229 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.302e-05/2.081, allocations: 11.81 kB / 1.229 GB, free: 114.6 MB / 0.5261 GB 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.002528/2.083, allocations: 1.053 MB / 1.23 GB, free: 114 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/2.083, allocations: 7.875 kB / 1.23 GB, free: 114 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/2.084, allocations: 135.5 kB / 1.23 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/2.085, allocations: 0.5438 MB / 1.23 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/2.085, allocations: 89.95 kB / 1.23 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.158e-05/2.085, allocations: 32.09 kB / 1.23 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009135/2.086, allocations: 0.5424 MB / 1.231 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/2.087, allocations: 0.7416 MB / 1.232 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/2.087, allocations: 3.703 kB / 1.232 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/2.087, allocations: 6.531 kB / 1.232 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-05/2.088, allocations: 42.25 kB / 1.232 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004899/2.092, allocations: 4.103 MB / 1.236 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/2.093, allocations: 212.3 kB / 1.236 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/2.093, allocations: 133.8 kB / 1.236 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.123e-05/2.093, allocations: 91.2 kB / 1.236 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/2.093, allocations: 44.56 kB / 1.236 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.394e-06/2.093, allocations: 0 / 1.236 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.005401/2.099, allocations: 1.39 MB / 1.237 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/2.099, allocations: 133.1 kB / 1.238 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/2.099, allocations: 462.2 kB / 1.238 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/2.099, allocations: 29.27 kB / 1.238 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/2.099, allocations: 338.9 kB / 1.238 GB, free: 108 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/2.1, allocations: 120.2 kB / 1.238 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/2.1, allocations: 0 / 1.238 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001542/2.1, allocations: 367.5 kB / 1.239 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/2.1, allocations: 184.9 kB / 1.239 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/2.101, allocations: 0.4909 MB / 1.24 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007196/2.101, allocations: 322.6 kB / 1.24 GB, free: 107 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/2.101, allocations: 3.625 kB / 1.24 GB, free: 107 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001501/2.103, allocations: 0.7984 MB / 1.241 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/2.103, allocations: 6.109 kB / 1.241 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/2.103, allocations: 9.625 kB / 1.241 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/2.104, allocations: 279.8 kB / 1.241 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/2.105, allocations: 119.2 kB / 1.241 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/2.106, allocations: 0.9663 MB / 1.242 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006429/2.107, allocations: 34 kB / 1.242 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/2.107, allocations: 64.41 kB / 1.242 GB, free: 105.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001771/2.107, allocations: 137.9 kB / 1.242 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/2.107, allocations: 57.69 kB / 1.242 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/2.109, allocations: 0.741 MB / 1.243 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/2.109, allocations: 6.156 kB / 1.243 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/2.109, allocations: 3.75 kB / 1.243 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/2.109, allocations: 1.969 kB / 1.243 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/2.111, allocations: 0.9907 MB / 1.244 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/2.111, allocations: 3.75 kB / 1.244 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/2.112, allocations: 187.9 kB / 1.244 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.537e-05/2.112, allocations: 28.89 kB / 1.244 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/2.112, allocations: 7.75 kB / 1.244 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/2.113, allocations: 2.582 MB / 1.247 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/2.113, allocations: 0 / 1.247 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001091/2.115, allocations: 0.693 MB / 1.247 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/2.115, allocations: 177.5 kB / 1.248 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/2.115, allocations: 4.281 kB / 1.248 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/2.115, allocations: 18.72 kB / 1.248 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/2.116, allocations: 35.7 kB / 1.248 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.921e-05/2.116, allocations: 37.69 kB / 1.248 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004428/2.116, allocations: 339.6 kB / 1.248 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001559/2.118, allocations: 298.1 kB / 1.248 GB, free: 101.7 MB / 0.5261 GB 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 (34): * Single equations (assignments): 32 * 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.002244/2.12, allocations: 1.09 MB / 1.249 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001385/2.121, allocations: 0.4942 MB / 1.25 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/2.121, allocations: 1.438 kB / 1.25 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/2.123, allocations: 399.7 kB / 1.25 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/2.124, allocations: 231.1 kB / 1.25 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/2.126, allocations: 0.8828 MB / 1.251 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/2.127, allocations: 1.092 MB / 1.252 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/2.127, allocations: 0 / 1.252 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.03073/2.158, allocations: 18.85 MB / 1.271 GB, free: 84.36 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)