Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [: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.003815/0.003815, allocations: 174.6 kB / 7.45 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.546/1.546, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001737/0.001737, allocations: 128.5 kB / 217.7 MB, free: 8.16 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.2158/0.2158, allocations: 37.98 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.626e-06, allocations: 0 / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 48.71 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.774/6.898, allocations: 2.514 GB / 2.903 GB, free: 115.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/6.898, allocations: 96.69 kB / 2.903 GB, free: 115.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.779/8.677, allocations: 484 MB / 3.375 GB, free: 3.836 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001014/8.678, allocations: 20 kB / 3.375 GB, free: 3.816 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.008992/8.687, allocations: 1.658 MB / 3.377 GB, free: 2.125 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/8.687, allocations: 12.03 kB / 3.377 GB, free: 2.113 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/8.689, allocations: 226.9 kB / 3.377 GB, free: 1.891 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/8.691, allocations: 0.5863 MB / 3.378 GB, free: 1.266 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/8.691, allocations: 92.66 kB / 3.378 GB, free: 1.164 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/8.691, allocations: 35.91 kB / 3.378 GB, free: 1.129 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001607/8.693, allocations: 0.639 MB / 3.378 GB, free: 500 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2825/8.975, allocations: 0.8804 MB / 3.379 GB, free: 83.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/8.975, allocations: 4.312 kB / 3.379 GB, free: 83.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/8.975, allocations: 4.438 kB / 3.379 GB, free: 83.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-05/8.976, allocations: 46.8 kB / 3.379 GB, free: 83.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1375/9.113, allocations: 67.44 MB / 3.445 GB, free: 41.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/9.114, allocations: 222.8 kB / 3.445 GB, free: 41.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/9.114, allocations: 155.5 kB / 3.446 GB, free: 41.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1258/9.24, allocations: 53.35 MB / 3.498 GB, free: 22.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.947e-05/9.24, allocations: 42.59 kB / 3.498 GB, free: 22.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 3.326e-06/9.24, allocations: 0 / 3.498 GB, free: 22.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.006301/9.246, allocations: 1.352 MB / 3.499 GB, free: 21.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/9.247, allocations: 135.5 kB / 3.499 GB, free: 37.76 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/9.248, allocations: 0.5038 MB / 3.5 GB, free: 37.63 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.659e-05/9.248, allocations: 25.7 kB / 3.5 GB, free: 37.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/9.248, allocations: 385.4 kB / 3.5 GB, free: 37.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/9.249, allocations: 135.1 kB / 3.5 GB, free: 37.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.829e-05/9.249, allocations: 1.969 kB / 3.5 GB, free: 37.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002599/9.249, allocations: 372.8 kB / 3.501 GB, free: 37.01 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/9.249, allocations: 228.6 kB / 3.501 GB, free: 37.01 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/9.25, allocations: 0.5989 MB / 3.501 GB, free: 36.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/9.251, allocations: 358.3 kB / 3.502 GB, free: 36.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/9.251, allocations: 5.219 kB / 3.502 GB, free: 36.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003584/9.255, allocations: 1.037 MB / 3.503 GB, free: 36.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/9.255, allocations: 7.781 kB / 3.503 GB, free: 36.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/9.255, allocations: 10.31 kB / 3.503 GB, free: 36.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004173/9.256, allocations: 84.23 kB / 3.503 GB, free: 36.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/9.257, allocations: 282.9 kB / 3.503 GB, free: 36.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/9.261, allocations: 2.046 MB / 3.505 GB, free: 34.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/9.262, allocations: 49.28 kB / 3.505 GB, free: 34.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/9.262, allocations: 44.02 kB / 3.505 GB, free: 34.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * 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): 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002994/9.263, allocations: 141.7 kB / 3.505 GB, free: 34.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007608/9.263, allocations: 205.8 kB / 3.506 GB, free: 34.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/9.266, allocations: 1.671 MB / 3.507 GB, free: 34.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/9.266, allocations: 21.03 kB / 3.507 GB, free: 34.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/9.266, allocations: 0 / 3.507 GB, free: 34.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/9.266, allocations: 3.516 kB / 3.507 GB, free: 34.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00445/9.271, allocations: 2.525 MB / 3.51 GB, free: 33.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/9.271, allocations: 1.969 kB / 3.51 GB, free: 33.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/9.272, allocations: 168.9 kB / 3.51 GB, free: 33.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/9.272, allocations: 113.4 kB / 3.51 GB, free: 33.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/9.273, allocations: 10.81 kB / 3.51 GB, free: 33.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002832/9.275, allocations: 2.118 MB / 3.512 GB, free: 32.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/9.275, allocations: 0 / 3.512 GB, free: 32.14 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003934/9.279, allocations: 1.964 MB / 3.514 GB, free: 31.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006801/9.28, allocations: 215.1 kB / 3.514 GB, free: 31.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/9.28, allocations: 7.156 kB / 3.514 GB, free: 31.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008312/9.281, allocations: 24.58 kB / 3.514 GB, free: 31.78 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/9.281, allocations: 21.84 kB / 3.514 GB, free: 31.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.729e-05/9.281, allocations: 14.38 kB / 3.514 GB, free: 31.78 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0008475/9.282, allocations: 370 kB / 3.515 GB, free: 31.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008102/9.29, allocations: 1.109 MB / 3.516 GB, free: 31.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01294/9.303, allocations: 1.723 MB / 3.517 GB, free: 31.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002638/9.306, allocations: 1.113 MB / 3.518 GB, free: 31.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/9.306, allocations: 0 / 3.518 GB, free: 31.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/9.308, allocations: 0.8658 MB / 3.519 GB, free: 31.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/9.31, allocations: 253.2 kB / 3.519 GB, free: 31.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/9.313, allocations: 1.545 MB / 3.521 GB, free: 31.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/9.314, allocations: 1.131 MB / 3.522 GB, free: 30.35 MB / 474.7 MB Notification: Performance of SimCode: time 8.22e-07/9.314, allocations: 2.906 kB / 3.522 GB, free: 30.35 MB / 474.7 MB Notification: Performance of Templates: time 0.06361/9.378, allocations: 37.12 MB / 3.558 GB, free: 19.3 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)