Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [: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.002769/0.002769, allocations: 185.4 kB / 7.459 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.223/1.223, allocations: 194.2 MB / 202.1 MB, free: 8.723 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.00169/0.00169, allocations: 117.4 kB / 247.1 MB, free: 6.352 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.1892/0.1892, allocations: 39.94 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.943e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.112/1.225, allocations: 423.8 MB / 0.851 GB, free: 173.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/1.225, allocations: 88.58 kB / 0.8511 GB, free: 173.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.2606/1.485, allocations: 131.6 MB / 0.9796 GB, free: 48.95 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.315e-05/1.486, allocations: 24.36 kB / 0.9796 GB, free: 48.92 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.00233/1.488, allocations: 0.8922 MB / 0.9805 GB, free: 47.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.488, allocations: 8.031 kB / 0.9805 GB, free: 47.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006526/1.489, allocations: 95.05 kB / 0.9806 GB, free: 47.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/1.49, allocations: 0.5522 MB / 0.9811 GB, free: 47.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.853e-05/1.49, allocations: 88.3 kB / 0.9812 GB, free: 47.19 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/1.49, allocations: 31.94 kB / 0.9812 GB, free: 47.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009555/1.491, allocations: 0.5684 MB / 0.9818 GB, free: 46.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/1.492, allocations: 0.7319 MB / 0.9825 GB, free: 45.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/1.492, allocations: 4 kB / 0.9825 GB, free: 45.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.849e-05/1.492, allocations: 0 / 0.9825 GB, free: 45.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/1.492, allocations: 40.98 kB / 0.9826 GB, free: 45.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/1.497, allocations: 3.806 MB / 0.9863 GB, free: 41.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/1.498, allocations: 226.5 kB / 0.9865 GB, free: 41.46 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/1.498, allocations: 169.3 kB / 0.9866 GB, free: 41.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/1.5, allocations: 1.384 MB / 0.988 GB, free: 39.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/1.5, allocations: 38.8 kB / 0.988 GB, free: 39.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 2.695e-06/1.5, allocations: 0 / 0.988 GB, free: 39.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.003083/1.503, allocations: 1.144 MB / 0.9892 GB, free: 38.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/1.503, allocations: 136.5 kB / 0.9893 GB, free: 38.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/1.504, allocations: 490 kB / 0.9898 GB, free: 37.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/1.504, allocations: 33.7 kB / 0.9898 GB, free: 37.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/1.504, allocations: 350.6 kB / 0.9901 GB, free: 37.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.02e-05/1.504, allocations: 118.3 kB / 0.9902 GB, free: 37.33 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/1.504, allocations: 4 kB / 0.9902 GB, free: 37.33 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/1.504, allocations: 366.8 kB / 0.9906 GB, free: 36.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/1.504, allocations: 185.5 kB / 0.9908 GB, free: 36.78 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/1.505, allocations: 0.52 MB / 0.9913 GB, free: 36.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/1.505, allocations: 311.6 kB / 0.9916 GB, free: 35.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/1.505, allocations: 4 kB / 0.9916 GB, free: 35.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00168/1.507, allocations: 0.8453 MB / 0.9924 GB, free: 34.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.507, allocations: 4 kB / 0.9924 GB, free: 34.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.507, allocations: 12 kB / 0.9924 GB, free: 34.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009581/1.508, allocations: 228.8 kB / 0.9926 GB, free: 34.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/1.509, allocations: 131.8 kB / 0.9928 GB, free: 34.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009634/1.51, allocations: 0.8877 MB / 0.9936 GB, free: 33.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/1.51, allocations: 40.05 kB / 0.9937 GB, free: 33.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/1.51, allocations: 43.89 kB / 0.9937 GB, free: 33.57 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real 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 (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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001911/1.51, allocations: 132.7 kB / 0.9938 GB, free: 33.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/1.511, allocations: 67.25 kB / 0.9939 GB, free: 33.37 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000976/1.512, allocations: 0.5669 MB / 0.9944 GB, free: 32.78 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/1.512, allocations: 7.938 kB / 0.9945 GB, free: 32.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.512, allocations: 0 / 0.9945 GB, free: 32.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.512, allocations: 0 / 0.9945 GB, free: 32.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/1.513, allocations: 1.074 MB / 0.9955 GB, free: 31.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.513, allocations: 0 / 0.9955 GB, free: 31.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/1.514, allocations: 171.8 kB / 0.9957 GB, free: 31.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.558e-05/1.514, allocations: 28.84 kB / 0.9957 GB, free: 31.43 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/1.514, allocations: 3.984 kB / 0.9957 GB, free: 31.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/1.516, allocations: 2.58 MB / 0.9982 GB, free: 28.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.516, allocations: 0 / 0.9982 GB, free: 28.62 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001016/1.517, allocations: 0.7507 MB / 0.9989 GB, free: 27.82 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/1.517, allocations: 188.3 kB / 0.9991 GB, free: 27.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/1.517, allocations: 3.984 kB / 0.9991 GB, free: 27.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/1.518, allocations: 24.05 kB / 0.9992 GB, free: 27.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/1.518, allocations: 15.97 kB / 0.9992 GB, free: 27.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/1.518, allocations: 19.98 kB / 0.9992 GB, free: 27.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003822/1.518, allocations: 362.9 kB / 0.9995 GB, free: 27.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009032/1.519, allocations: 215.9 kB / 0.9997 GB, free: 27 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006951/1.52, allocations: 356 kB / 1 GB, free: 26.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009958/1.521, allocations: 0.5007 MB / 1.001 GB, free: 26.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.521, allocations: 4 kB / 1.001 GB, free: 26.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.522, allocations: 399 kB / 1.001 GB, free: 25.74 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/1.523, allocations: 236.7 kB / 1.001 GB, free: 25.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/1.525, allocations: 0.8823 MB / 1.002 GB, free: 24.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006294/1.525, allocations: 1.011 MB / 1.003 GB, free: 23.57 MB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/1.525, allocations: 4 kB / 1.003 GB, free: 23.56 MB / 474.7 MB Notification: Performance of Templates: time 0.01999/1.545, allocations: 12.23 MB / 1.015 GB, free: 11.37 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)