Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [: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.005531/0.005531, allocations: 184.6 kB / 7.46 MB, free: 2.484 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.444/1.444, allocations: 194.2 MB / 202.1 MB, free: 8.746 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.001755/0.001754, allocations: 126.7 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.1619/0.1619, allocations: 39.94 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.811e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.09566, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.15, allocations: 414.1 MB / 0.8415 GB, free: 130.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/1.15, allocations: 96.55 kB / 0.8416 GB, free: 130.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.2498/1.4, allocations: 117.1 MB / 0.956 GB, free: 62.75 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.613e-05/1.4, allocations: 16 kB / 0.956 GB, free: 62.74 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.002867/1.403, allocations: 0.9783 MB / 0.957 GB, free: 61.72 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.403, allocations: 8.031 kB / 0.957 GB, free: 61.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006074/1.404, allocations: 91.05 kB / 0.9571 GB, free: 61.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/1.405, allocations: 0.5479 MB / 0.9576 GB, free: 61.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.633e-05/1.405, allocations: 84.41 kB / 0.9577 GB, free: 60.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/1.405, allocations: 32 kB / 0.9577 GB, free: 60.92 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001032/1.406, allocations: 0.5606 MB / 0.9583 GB, free: 60.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/1.407, allocations: 0.7345 MB / 0.959 GB, free: 59.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/1.407, allocations: 3.938 kB / 0.959 GB, free: 59.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/1.408, allocations: 8 kB / 0.959 GB, free: 59.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.172e-05/1.408, allocations: 36.98 kB / 0.9591 GB, free: 59.51 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/1.412, allocations: 3.988 MB / 0.9629 GB, free: 55.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/1.412, allocations: 230.4 kB / 0.9632 GB, free: 55.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/1.413, allocations: 161.4 kB / 0.9633 GB, free: 54.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003566/1.413, allocations: 344.7 kB / 0.9636 GB, free: 54.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.165e-05/1.413, allocations: 42.84 kB / 0.9637 GB, free: 54.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 3.176e-06/1.413, allocations: 0 / 0.9637 GB, free: 54.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.003199/1.416, allocations: 1.256 MB / 0.9649 GB, free: 53.14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/1.416, allocations: 140.5 kB / 0.965 GB, free: 52.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/1.417, allocations: 458 kB / 0.9655 GB, free: 52.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/1.417, allocations: 25.7 kB / 0.9655 GB, free: 52.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/1.417, allocations: 323 kB / 0.9658 GB, free: 52.17 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.7e-05/1.417, allocations: 142 kB / 0.966 GB, free: 52.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/1.417, allocations: 4 kB / 0.966 GB, free: 52.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.962e-05/1.417, allocations: 378.6 kB / 0.9663 GB, free: 51.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/1.418, allocations: 201.5 kB / 0.9665 GB, free: 51.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/1.418, allocations: 0.514 MB / 0.967 GB, free: 50.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/1.419, allocations: 337 kB / 0.9673 GB, free: 50.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.419, allocations: 4 kB / 0.9673 GB, free: 50.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001797/1.42, allocations: 0.8854 MB / 0.9682 GB, free: 49.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.42, allocations: 8 kB / 0.9682 GB, free: 49.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.42, allocations: 8 kB / 0.9682 GB, free: 49.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008284/1.421, allocations: 237.1 kB / 0.9684 GB, free: 49.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/1.422, allocations: 131.8 kB / 0.9686 GB, free: 49.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008635/1.423, allocations: 0.8839 MB / 0.9694 GB, free: 48.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/1.423, allocations: 44.02 kB / 0.9695 GB, free: 48.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/1.423, allocations: 40 kB / 0.9695 GB, free: 48.19 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001516/1.424, allocations: 132.7 kB / 0.9696 GB, free: 48.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/1.424, allocations: 59.25 kB / 0.9697 GB, free: 48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/1.425, allocations: 0.6182 MB / 0.9703 GB, free: 47.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.425, allocations: 8 kB / 0.9703 GB, free: 47.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/1.425, allocations: 0 / 0.9703 GB, free: 47.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/1.425, allocations: 3.984 kB / 0.9703 GB, free: 47.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/1.427, allocations: 1.479 MB / 0.9718 GB, free: 45.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.427, allocations: 11.97 kB / 0.9718 GB, free: 45.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009104/1.428, allocations: 183.9 kB / 0.9719 GB, free: 45.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/1.428, allocations: 60.69 kB / 0.972 GB, free: 45.51 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/1.428, allocations: 8 kB / 0.972 GB, free: 45.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/1.43, allocations: 2.671 MB / 0.9746 GB, free: 42.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.43, allocations: 4 kB / 0.9746 GB, free: 42.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00135/1.431, allocations: 0.9702 MB / 0.9756 GB, free: 41.56 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/1.432, allocations: 188.3 kB / 0.9757 GB, free: 41.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.432, allocations: 4 kB / 0.9758 GB, free: 41.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/1.432, allocations: 31.83 kB / 0.9758 GB, free: 41.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/1.432, allocations: 27.95 kB / 0.9758 GB, free: 41.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/1.432, allocations: 19.98 kB / 0.9758 GB, free: 41.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003497/1.433, allocations: 338.9 kB / 0.9762 GB, free: 40.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001066/1.434, allocations: 203.9 kB / 0.9763 GB, free: 40.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000626/1.435, allocations: 243.8 kB / 0.9766 GB, free: 40.51 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009732/1.436, allocations: 0.5471 MB / 0.9771 GB, free: 39.96 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.436, allocations: 0 / 0.9771 GB, free: 39.96 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.437, allocations: 466.5 kB / 0.9776 GB, free: 39.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/1.438, allocations: 264.2 kB / 0.9778 GB, free: 39.24 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/1.44, allocations: 0.9745 MB / 0.9788 GB, free: 38.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006214/1.441, allocations: 1.012 MB / 0.9797 GB, free: 37.19 MB / 474.7 MB Notification: Performance of SimCode: time 2.71e-07/1.441, allocations: 0 / 0.9797 GB, free: 37.19 MB / 474.7 MB Notification: Performance of Templates: time 0.02052/1.461, allocations: 12.25 MB / 0.9917 GB, free: 25.05 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1)