Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.2+maint.om/package.mo): time 0.00268/0.00268, allocations: 183.5 kB / 7.457 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.278/1.278, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001862/0.001862, allocations: 120.2 kB / 247.1 MB, free: 6.359 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.1944/0.1944, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.622e-06/6.652e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.378/5.487, allocations: 2.951 GB / 3.388 GB, free: 8.785 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004097/5.488, allocations: 94.52 kB / 3.389 GB, free: 8.695 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.082/8.57, allocations: 1.13 GB / 4.518 GB, free: 9.676 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.127e-05/8.57, allocations: 16 kB / 4.518 GB, free: 9.66 MB / 490.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.006224/8.576, allocations: 1.575 MB / 4.52 GB, free: 8.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/8.576, allocations: 8.031 kB / 4.52 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/8.577, allocations: 95.05 kB / 4.52 GB, free: 7.988 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009144/8.578, allocations: 0.5538 MB / 4.52 GB, free: 7.406 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.467e-05/8.578, allocations: 80.41 kB / 4.521 GB, free: 7.312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/8.578, allocations: 28 kB / 4.521 GB, free: 7.285 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008047/8.579, allocations: 0.5606 MB / 4.521 GB, free: 6.723 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009338/8.58, allocations: 0.7397 MB / 4.522 GB, free: 5.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/8.58, allocations: 11.08 kB / 4.522 GB, free: 5.902 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/8.58, allocations: 0 / 4.522 GB, free: 5.902 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/8.58, allocations: 40.98 kB / 4.522 GB, free: 5.863 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004013/8.584, allocations: 3.978 MB / 4.526 GB, free: 1.668 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/8.584, allocations: 230.4 kB / 4.526 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/8.584, allocations: 165.4 kB / 4.526 GB, free: 1.273 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/8.585, allocations: 348.6 kB / 4.526 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/8.585, allocations: 42.78 kB / 4.527 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.805e-06/8.585, allocations: 0 / 4.527 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.217/8.802, allocations: 1.246 MB / 4.528 GB, free: 117.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/8.802, allocations: 138.3 kB / 4.528 GB, free: 117.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006992/8.803, allocations: 460.7 kB / 4.528 GB, free: 117.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/8.803, allocations: 33.36 kB / 4.528 GB, free: 117.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/8.803, allocations: 326.6 kB / 4.529 GB, free: 117.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/8.803, allocations: 143.7 kB / 4.529 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/8.803, allocations: 0 / 4.529 GB, free: 117.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/8.803, allocations: 366.8 kB / 4.529 GB, free: 116.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/8.803, allocations: 198.8 kB / 4.529 GB, free: 116.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/8.804, allocations: 0.523 MB / 4.53 GB, free: 116.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/8.804, allocations: 332.8 kB / 4.53 GB, free: 116.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/8.804, allocations: 5.734 kB / 4.53 GB, free: 116.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001775/8.806, allocations: 0.8863 MB / 4.531 GB, free: 116.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/8.806, allocations: 7.094 kB / 4.531 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/8.806, allocations: 13.48 kB / 4.531 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008549/8.807, allocations: 225.4 kB / 4.531 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/8.808, allocations: 130.2 kB / 4.531 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008153/8.808, allocations: 0.8848 MB / 4.532 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006393/8.809, allocations: 37.42 kB / 4.532 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/8.809, allocations: 38.17 kB / 4.532 GB, free: 115.9 MB / 490.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.0001571/8.809, allocations: 137.1 kB / 4.532 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/8.809, allocations: 63.47 kB / 4.533 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/8.811, allocations: 0.6125 MB / 4.533 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/8.811, allocations: 11.12 kB / 4.533 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/8.811, allocations: 2.625 kB / 4.533 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/8.811, allocations: 3.891 kB / 4.533 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/8.813, allocations: 1.489 MB / 4.535 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/8.813, allocations: 0 / 4.535 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009357/8.814, allocations: 179.1 kB / 4.535 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/8.814, allocations: 57.73 kB / 4.535 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/8.814, allocations: 9.078 kB / 4.535 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/8.816, allocations: 2.673 MB / 4.537 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/8.816, allocations: 0 / 4.537 GB, free: 112.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001388/8.817, allocations: 0.9794 MB / 4.538 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/8.818, allocations: 193.3 kB / 4.539 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.565e-05/8.818, allocations: 10.09 kB / 4.539 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/8.818, allocations: 11.83 kB / 4.539 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/8.818, allocations: 28.75 kB / 4.539 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/8.818, allocations: 22.03 kB / 4.539 GB, free: 112.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004698/8.819, allocations: 329.7 kB / 4.539 GB, free: 112.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001321/8.82, allocations: 228.9 kB / 4.539 GB, free: 112.1 MB / 490.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.001032/8.821, allocations: 406.4 kB / 4.54 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/8.822, allocations: 0.5419 MB / 4.54 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/8.822, allocations: 2.969 kB / 4.54 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001271/8.824, allocations: 476.3 kB / 4.541 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/8.825, allocations: 253.5 kB / 4.541 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/8.827, allocations: 0.9698 MB / 4.542 GB, free: 111.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/8.827, allocations: 1.017 MB / 4.543 GB, free: 110.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.514e-06/8.827, allocations: 3.875 kB / 4.543 GB, free: 110.9 MB / 490.7 MB Notification: Performance of Templates: time 0.02114/8.849, allocations: 13.11 MB / 4.556 GB, free: 110.6 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)